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
Can't use var() or @var() inside Math functions #30
Comments
Currently |
Alright. Is this feature on the horizon? |
Yeah, I can see it's quite useful sometimes. Will be added soon! |
Ok, nice.
Would also be really cool to have. |
Not quite.. but it's nice to have dynamic values inside keyframes too :) |
5 years later.. Since --t: calc(3/2);
--tt: calc(@ceil(var(--t))*4); #Problem here!
margin: calc(.1em * var(--tt)); Can be written as: --t: $(3/2);
--tt: $(ceil(4 * t);
margin: $em(.1 * tt); |
for example:
Doesn't work.
The text was updated successfully, but these errors were encountered: