-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
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
rem units not working in vars #393
Comments
The dimension function processes a large list of units, but doesn't include rems. I manually added rem to the list and it seems to work for me (after a cursory examination at least). Rem support would definitely be a useful addition. |
I ran into this issue a few days ago too. |
You can in fact use escape characters to get what you want. I tried this, using LESS.js' official example: @str: 666; h1 { Gives (me at least) an output of: h1 { I hope this can help you out. I'll try playing around with it some more. :) |
Issue #393 Add support for "rem" dimensions
should be fixed now. |
Epic! Already tried it out, seems to work just great. :) On 20-07-2012 21:47, Luke Page wrote:
Best regards, |
This doesn't work:
@BigText: 2rem;
header {
font-size: @BigText;
}
The text was updated successfully, but these errors were encountered: