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
To reproduce:
@h: 1px; :root { --a: @h * 10; } .a { height: @h * 10; }
Current behavior:
:root { --asd-sss: 1px * 10; } .a { height: 10px; }
Expected behavior:
:root { --asd-sss: 10px; }
Environment information:
less
operating system
The text was updated successfully, but these errors were encountered:
This is as designed, although it probably isn't documented well-enough. Custom property values only do simple variable substitutions.
You have to do:
@h: 1px * 10; :root { --a: @h; } .a { height: @h * 10; }
Sorry, something went wrong.
No branches or pull requests
To reproduce:
Current behavior:
Expected behavior:
Environment information:
less
version: 4.1.3operating system
: https://lesscss.org/less-previewThe text was updated successfully, but these errors were encountered: