We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Less <v4
<v4
.selector { @number: 4; @divider: 2; value: @number / @divider; }
compiles to
.selector { property: 2; }
In v4, it compiles to
v4
.selector { property: 4 / 2; }
The text was updated successfully, but these errors were encountered:
That is correct behavior. See: https://github.com/less/less.js/releases/tag/v4.0.0
Sorry, something went wrong.
Hmm, ok. But wrapping the calculation in parentheses doesn't always seem to work. For example in an if():
if()
value: if(false, 1, (8 / 4)); // returns `value: 8 / 4`
@MartijnCuppens Interesting. File that as a separate bug?
No branches or pull requests
In Less
<v4
compiles to
In
v4
, it compiles toThe text was updated successfully, but these errors were encountered: