| |||||
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 ]
· Browser and server url re-writing is now aligned to not re-write (previous lessc behavior)
· URL-rewriting can be made to re-write to be relative to the entry file using the relative-urls option (less.relativeUrls option)
· rootpath option can be used to add a base path to every url
· Support mixin argument seperator of ';' so you can pass comma seperated values. e.g. .mixin(23px, 12px;);
· Fixed lots of problems with named arguments in corner cases, not behaving as expected
· hsv, hsva, unit functions
· Fixed lots more bad error messages
· Fixed @import-once to use the full path, not the relative one for determining if an import has been imported already
· Supports :not(:nth-child(3))

Via: less.js 1.3.2






0 Comment:
Post a Comment