-
CSS Compatible
The syntax accepted by CSS Preprocessor is 100% based on CSS 3 and thus is is compatible with CSS 3, 2, and 1. CSS Preprocessor only adds powerful extensions using the basic CSS 3 syntax. This means you may write regular CSS and still validate and minify your CSS 3 code with CSS Preprocessor.
-
Do More With Less
The extensions offered by CSS Preprocessor allow you to write less code and do more faster, especially with the support of nested rules and attributes and the use of variables and C/C++ like expressions. CSS Preprocessor also supports internal and user defined functions.
-
Maturity
Version 1.0.5 of CSS Preprocessor library has 100% coverage of all its classes making it very stable. It also supports most of the functions and capabilities found in SASS and {less}, two other quite advanced CSS preprocessors.
-
Reusability
The CSS Preprocessor environment is a C++11 library that comes with a very modular way of handling the CSS code. It can read .css and .scss files (.scss is CSS plus the extensions offered by CSS Preprocessor). The library can then validate the code and output it back compressed or beautified. The Snap! Websites project uses the library to automatically compress all the CSS files uploaded on any website, making it really easy to have an optimized website.
-
Documentation
The language supported by CSS Preprocessor is fully documented. The documentation is offered as a tarball to download. It can also be generated using doxygen. The documentation explains certain choices in making such and such work or not work. Especially, we wanted to be as close as possible to the CSS 3 language so had to avoid offering certain syntactical entries offered by other CSS languages, entries that would otherwise make us non-compatible with CSS 3.
-
License
CSS Preprocessor is licensed under the GPL version 2. This means you can use it in your open source projects or with your company commercial products. Note that if you make modifications to the csspp project, you must make those changes available to your users / customers. We would also dearly appreciate you sharing them with us so we can continue to improve the library much faster.