-
Notifications
You must be signed in to change notification settings - Fork 47
Home
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. Reusing properties or give names to constants is very hard or even impossible. If multiple elements share the same properties (color, margin), any change of these common properties must be done on all those places. That often leads to long and hard to maintain style sheets.
Less language is an attempt to solve these problems.
Less4j is 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 list them on Quirks page.
Less4j compiler can run embedded from any java project or run from command line. It has also two additional features to make work with less easier:
- generate source maps,
- be extended with custom functions,
- compress css output.
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.
This wiki is updated as we go and accurately describes latest development version (e.g. HEAD). If you want to bother with older versions, history is stored in git. Versions corresponding with releases are available under same tags as the released code.
A list of all releases is on Released Versions page.
Complete list of all this wiki pages is located in standard Github pages page.