File tree Expand file tree Collapse file tree 1 file changed +14
-20
lines changed
Expand file tree Collapse file tree 1 file changed +14
-20
lines changed Original file line number Diff line number Diff line change 11less.js
22=======
33
4- > Leaner CSS, in your browser.
5-
6- ** less.js is currently under development, and not to be relied upon!**
7-
84about
95-----
106
117less.js is the next evolution of [ LESS] ( http://lesscss.org ) , eventually, it will become LESS 2.0.
128less.js is a complete rewrite of LESS in JavaScript, and will be able to run directly in the browser,
139as well as on the server, with node.js.
1410
15- More info coming soon.
11+ synopsis
12+ --------
13+
14+ ### in node.js
15+
16+ var less = require('less');
17+
18+ less.render(".class { width: 10px * 2 }", function (e, css) {
19+ sys.puts(css); // .class { width: 20px }
20+ });
1621
17- development status
18- ------------------
22+ ### via the command-line (requires node)
1923
20- A stable release is due sometime end of March.
24+ bin/lessc style.less
2125
22- ### Implemented features:
26+ ### in the browser
2327
24- - Variables
25- - Nested rules
26- - & selector
27- - Numerical operations
28- - Color operations
29- - Namespaces
30- - Functions
31- - Static mixins
32- - Comment output
33- - Dynamic mixins
34- - Importing
28+ <link rel="less" href="/stylesheets/main.less" type="text/css">
3529
You can’t perform that action at this time.
0 commit comments