Skip to content
SomMeri edited this page Oct 1, 2012 · 23 revisions

Less language adds dynamic features into style sheets. Standard css is good in describing how the page should look like, but it is purely descriptive language. That often leads to long and hard to maintain style sheets. For example, reusing properties or give names to constants is very hard or even impossible. Therefore, if multiple elements share the same properties (color, margin), any change of these common properties must be done on all those places.

Less language is an attempt to solve these problems.

Less language

Less4j is a work in progress. Those parts of Less language that has already been ported are described in Supported Less Language page. Although less4j is a port and its goal to behave the same way as less.js does, there are some differences between them and we have documented them on Differences Between Less.js and Less4j page.

Newly added less dynamic features occasionally interact with standard style sheet grammar. In addition, less.js is in development too. This leads to certain language quirks - grammar features that may lead to confusion if you do not know about them. We lists them on Quirks page.

Css Compatibility

Less compiler is expected to be compatible with standard css. We adopted some w3c css3 specification test cases in order to prove that it really is the case. These efforts are documented in W3C CSS3 Specification Compatibility page.

Other Pages

Complete list of all this wiki pages is located in standard Github pages page.