less-docs
less-docs copied to clipboard
Documentation for Less.
Here is a trick I use to define variables and keep them in some private scope, avoiding them leaking to the global space. ``` & { // Vars @height: 100px;...
Posting this WIP here (per discussion at https://github.com/less/less.js/commit/809dc509f33652d8bcef9545dbade37bc4aef02a) --- | Trivial type | Less [tree](https://github.com/less/less.js/tree/v2.7.2/lib/less/tree) type | Less value example | Corresponding plugin code (less.tree prefix omitted) | |--------------|----------------|-------------------------|----------------------------------------------------------| |...
This is a general call for documentation for the use of `@plugin` at http://lesscss.org/usage/#plugins. (See less/less.js#2416, and pull requests less/less.js#2479 & less/less.js#2522).
Just a notification. (Honestly I have no idea what to do with it. Probably it should be moved to lesscss.org/less-preview or so anyway, though it will be sad to loose...
Specifically [#2772](https://github.com/less/less.js/issues/2772). Probably it would be helpful to document that `@import` statement is evaluated "right away" before anything else (specifically mixins). Or, in other words, that it's a sort of...
The doc doesn't elaborate on the differenct LESS data types. Samples of questions left unanswered after reading the doc: 1. What's a list? 2. What's a dimension? 3. Are there...
See [#2342](https://github.com/less/less.js/issues/2342), [#2583](https://github.com/less/less.js/issues/2583). (relative imports, ulrs, data-uris as well as source-maps and similar compiled-less-file-depended things just won't work properly w/o this option).
This is a real life scenario: I am trying to fix an issue where the callback to less.render() throws, and as a result I get unhandled rejection. I went to...