Less is Leaner css. Less extends css by adding: variables, mixins, operations and nested rules.
Less uses existing css syntax. This means you can migrate your current .css
files to .less
in seconds, with virtually no learning curve.
The Less Ruby gem compiles Less code to css. We recommend Ruby 1.9. To install:
sudo gem install less
Once installed, you can compile .less
files to .css
with the following command:$ lessc style.less
Using Rails? get the plugin. For more info, check out the docs.
No comments:
Post a Comment