Comparison of CSS Preprocessors
Last updated on
30 April 2025
Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites
CSS preprocessor modules all share a common goal of making it easier to write CSS, and approach this goal in different ways.
| Feature | CSS DRY | Dynamic CSS | LESS CSS | Sass | xCSS |
| Drupal 6 version | YES | YES | YES | YES | YES |
| Drupal 7 version | NO | NO | YES | YES | YES |
| Selector Nesting | YES | NO | YES | YES | YES |
| Variables | NO | YES | YES | YES | YES |
| Functions | NO | YES | YES | YES | NO |
| Math | NO | YES | YES | YES | YES |
Help improve this page
Page status: Not set
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion