Compiling preprocessor code to CSS can be done with GUI programs, online compilers, through the command line interface, or with the task runners Gulp and Grunt.
Less | Sass | Stylus | PostCSS | |
---|---|---|---|---|
SCSS syntax | Sass syntax | |||
CodePen.io JSbin CSS Deck Fiddle Salad BeautifyTools LESS Compiler LessTester Online Less Compiler less2css.org dopefly LESS Converter LessCSSisMore Leafo.net (lessphp) Less.php 2 CSS | CodePen.io JSbin CSS Deck Fiddle Salad BeautifyTools Sass Compiler SassMeister Rendera JSFiddle | CodePen.io JSbin CSS Deck Fiddle Salad BeautifyTools Sass Compiler SassMeister Rendera | CodePen.io JSbin CSS Deck Fiddle Salad BeautifyTools Try Stylus StylCompile | CodePen.io PreCSS |
All preprocessors allow for CLI compilation, see the how-to for:
Integrate a preprocessor's compilation as a task in Gulp:
Integrate a preprocessor's compilation as a task in Grunt: