samedi 5 mai 2012

Less CSS

LESS CSS is a new up and coming way of writing CSS. It allows for more complex CSS to be written and quicker. Here are some of the things Less CSS can do.
  • Variables
  • Mixins (allows you to embed all properties of a class into another class but including the class name as one of its properties)
  • Nest Rules (allows for quicker writing by nesting rules within other rules to give hierarchy)
  • Functions & Operations
It also allows for other functions such as importing values from other LESS and CSS files. It is able to be complied either client side (via Javascript) or server side. Or if you have a Mac you can even compile it on your computer using the LESS.app.

This seems like it could be the future of CSS. What are your thoughts? Could this end up being adopted by the browsers so support is universal? Is this just a fad?

Aucun commentaire:

Enregistrer un commentaire