Jun. 20, 2009 at 8:45amLESS is More

Leaner CSS with LESS

A new module for Ruby was recently released which shows a promise for what CSS could be. It expands on the ideas every developer has LESS is a module for Ruby that adds a ton of expressive capability to CSS. It adds the ability to have variables, add selector attributes to another selector, nest CSS rules within each other, and basic mathematic operations (add, subtract, etc.). This is exactly what every developer has wished CSS to be.

What LESS does is parse your CSS document (with the filetype .less) for these extra syntax additions. It will then output a fully compliant CSS document for viewing by the browser.

While we aren't a Ruby shop, it is nice to know this work is being done. I'll be the first to say, I can't wait till this is ported to PHP.

Add your comment below

Leave a Comment

Remember me

Name:

Email:

URL:

Comment: * No HTML, http:// will auto-link
* required
Comment Guidelines