Community Documentation

Comparison of CSS Preprocessors

Last updated October 3, 2011. Created by sreynen on April 29, 2010.
Edited by ArtistConk, corey.aufang, mlncn, Jolidog. Log in to edit this page.

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

Page status

No known problems

Log in to edit this page

About this page

Drupal version
Drupal 6.x, Drupal 7.x
Audience
Designers/themers

Site Building Guide

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.
nobody click here