Difference between revisions of "Less (stylesheet language)"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) (First) |
Karl Jones (Talk | contribs) (Mixins to do) |
||
Line 13: | Line 13: | ||
* Variables | * Variables | ||
* Nesting | * Nesting | ||
− | * Mixins | + | * [[Mixin|Mixins]] |
* Operators | * Operators | ||
* Functions | * Functions |
Revision as of 07:52, 17 June 2015
Less (sometimes stylized as LESS) is a dynamic style sheet language that can be compiled into Cascading Style Sheets (CSS), or can run on the client-side and server-side.
Less is influenced by Sass and has influenced the newer "SCSS" syntax of Sass, which adapted its CSS-like block formatting syntax.
Less is open source.
Its first version was written in Ruby, however in the later versions, use of Ruby has been deprecated and replaced by JavaScript.
The indented syntax of Less is a nested metalanguage, as valid CSS is valid Less code with the same semantics.
Less provides the following mechanisms:
- Variables
- Nesting
- Mixins
- Operators
- Functions
The main difference between Less and other CSS precompilers being that Less allows real-time compilation via less.js by the browser.
External links
- Less (stylesheet language) @ Wikipedia