Previously, in one of my front-end development projects based on the Bootstrap framework, I encountered and made use of an awesome tool called LESS.
If you don’t know what what LESS is, it could be said that LESS is the same for CSS as what PHP is for HTML. Or in another expression, what PHP is for HTML in terms of generating HTML document (as in general, PHP is much more powerful language). Anyway the idea is really simple, LESS gives you an array of tools to produce CSS code dynamically, and makes sharing your stylesheets across many projects simpler.
After several uses of the tool, I found it difficult to switch back to another project which doesn’t use LESS, which is proof that pre-compiling (rather than hard-coding) is more appropriate way of creating a stylesheet to generate an effective Web design. That’s where origins of this blog post come from.
I hope you will find the following list of LESS resources handy. Please bear in mind that I am using LESS in connection with Bootstrap – so apologies if some links below are too bootstrap-oriented 🙂
Syntax explanation / Tutorials:
A great LESS syntax explanation with examples of input / output code. On this site you can also find the latest version of ‘less.js’ which is a front-end LESS compiler allowing you for example, to preview changes you are making to your LESS stylesheet live (very handy on development area).
A nice tutorial published on the Smashing Magazine website explaining the language syntax and comparing it SASS.
Probably the only compiler which is supported by all three major platforms (Mac, Windows, Linux) moreover, the most powerful one; harnessing features like output CSS minification, on-the-fly compilation and automatic LESS updater.
A great compiler written in PHP. Plugins for popular frameworks and CMS systems are also obtainable.
An online LESS compiler (and a handy standalone Windows compiler)
Another online tool.
A plugin for Eclipse providing syntax highlighting, content assist, code compilation etc.
A breif but infomative tutorial on how to enable less syntax highlighting in Adobe Dreamweaver.
If you want to translate your current CSS code into a LESS equivalent, this little tool may prove to be very handy.
A helpful library of mixins.
Another useful collection of mixins.
Framework based on or utilized LESS:
My favourite front-end framework utilizes LESS so you can easily customize default styles or pick up which parts of the framework you want to use.
Popular grid system built on LESS.
Front-end framework working via LESS that makes managing your Bootstrap library much easier and a lot more!
Please leave a comment below, if you find or know anything else to add to the above list!