Difference between revisions of "Less (stylesheet language)"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) (cf) |
Karl Jones (Talk | contribs) (Sass) |
||
Line 22: | Line 22: | ||
* [[Cascading Style Sheets]] | * [[Cascading Style Sheets]] | ||
+ | * [[Sass (stylesheet language)|Sass]] | ||
== External links == | == External links == | ||
* [https://en.wikipedia.org/wiki/Less_(stylesheet_language) Less (stylesheet language)] @ Wikipedia | * [https://en.wikipedia.org/wiki/Less_(stylesheet_language) Less (stylesheet language)] @ Wikipedia |
Revision as of 11:46, 22 August 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.
See also
External links
- Less (stylesheet language) @ Wikipedia