less.js
less.js copied to clipboard
Less. The dynamic stylesheet language.
- `div:not(.class-a, .class-b, .class-c){}` is supported in less - `div:not(.@{some-variale}-class)` is also supported in less However: - `div:not(.@{some-variale}-class), .@{some-other-variale}-some-class))` is not supported and gives an error e.g. ``` @ant-prefix: ant;...
According to the [CSS spec](https://drafts.csswg.org/mediaqueries-5/#typedef-media-query-list), media type (`screen`, `print` etc) must be first on the list and all the other conditions (for example `(max-width: 800px)`) must follow after the media...
Issue #3675 - LESS detects @apply as variable (ISSUE) Issue was identified as a bug **Checklist**: - [ ] Documentation N/A - [x] Added/updated unit tests - [x] Code complete...
https://www.w3.org/TR/css-nesting-1/ https://caniuse.com/css-nesting/ CSS Nesting has implemented, Chrome 112 and Safari 16.5 will support it. Does less has any implement schedule of it? An option or other settings (e.g. browserlist)?
 Hello , I had made the following changes as well as run the test , its working fine . Its my first PR , suggest some changes if...
**What**: When optional dependencies are not installed or missing (ex: `npm ci --omit=optional`) less.js throw errors for features that use that dependencies. This is in contradiction with the purpose of...
**What**: - Removed `clone` function as phantomjs isn't used anymore - also used `for..of` loop to avoid using a hosted variable and instead make it scoped **Why**: less code. **How**:...
I am trying to compile some rather large files and was getting `SyntaxError: Error evaluating function 'floor': argument must be a number in \assets\css\less\searchbox.less LRM C:\Projects\LRM\LRM\assets\less\custom.less 232` so added the...
The following less would point into the line of `html>body form` although the definition was explicitly for `input`. However, this would work correctly when using the `&` operator, but it...