LessCSS - alternative Extension to CSS For Ruby

LESS is Ruby gem which easily compiles LESS code to CSS and extends CSS by adding variables, mixins, operations and nested rules.

lesscss - alternative Extension to CSS For Ruby

It use your existing css syntax. it means you can easily rename your current .css files to .less files in second & there is almost no learning curve.

  • variables : Variables allow you to specify widely used values in a single place, and then re-use them throughout the style sheet, making global changes as easy as changing one line of code.


  • Mixins : it allow you to embed all the properties of a class into another class by simply including the class name as one of its properties. It's just like Variables, but for whole classes.


  • Nested Rules : To make style sheets shorter and clear rather than constructing long selector names to specify inheritance, In Less you can Put nest selectors inside other selectors.
  • Operations : Some elements in your style sheet proportional to other elements ? so, Operations help you to add, subtract, divide and multiply property values and colors, giving you the power to do create complex relationships between properties.