From the homepage:
LESS extends CSS with dynamic behavior such as variables, mixins, operations and functions. LESS runs on both the client-side (IE 6+, Webkit, Firefox) and server-side, with Node.js.
In a production environment – unless you have special reasons not to – it's probably best to "cook" your stylesheets on the server-side. It saves browser resources and allows your site to be shown without Javascript enabled.
On the Mac, there's Less.app. The homepage looks a bit like a release announcement from Apple. What it does is to monitor a configurable set of directories for changes and invokes the "lessc" compiler.
On Linux, the equivalent is a few lines of bash:
Note that you must have less.js (via node.js) and inotify-tools installed on your machine.
If you can't see the script embedded above, you can see the source here.
Comments