Transpiler similar to SASS/SCSS/LESS/Stylus, except its 100% CoffeeScript!
body ->background 'black'color 'red'p ->font_size '12px'border_radius px 5
and get back a CSS3 stylesheet, like:
Just wrap it in this:
engine =format: true # optionalglobals: # optional: i + 'px' # a silly example of custom helpers# the cross-browser version of border_radius() is provided by the CoffeeStylesheetsCompassFramework pluginenginerender stylesheetconsolelog css
Does it only work in Node.js or client-side/in-browser as well? It is designed to be used on either side. This is why it is lightweight, with no dependencies.