|
LESS is an extension to the CSS language to add support for variables, nested rules, mixins and operations
It uses current CSS 2 & 3 syntax.
LESS stands for Leaner CSS.
Just rename a normal .css file into .less and run it through a LESS interpreter.
This library will take the inputted LESS code and transform it to CSS.
Eventually, as it is developed, this JS version will take over for the Ruby gem/library, and will be the only one continued to version 2.
Here are some key features of "less.js":
· Operations
· Nested Rules
· Mixins
· Variables
· Its own .LESS file format
· Runs on server (with node.js) and client side
What's New in This Release: [ read full changelog ]
· @media bubbling
· Support arbitrary entities as selectors
· Variadic argument support
· Behaviour of zero-arity mixins has changed, see link above.
· Allow '@import' directives in any selector
· Media-query features can now be a variable
· Automatic merging of media-query conditions
· Fix global variable leaks
· Fix error message on wrong-arity call
· Fix an '@arguments' behaviour bug
· Fix '::' selector output
· Fix a bug when using @media with mixins
Via: less.js 1.3.1
0 Comment:
Post a Comment