-
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
[Compiler Error]CSS variable can not be used in CSS trigonometry functions #4224
Comments
This looks like another variant of "CSS adding functions that are already in Less" problem. This will probably be solved in the future, but in the meantime, you can utilize string escaping, like: --basic-deg-tan: ~"tan(var(--basic-deg))"; |
how to do if "var(--basic-deg)" needs to pass to third part lib, third part lib can not be modified. |
+1 |
I will take a look at improving Less.js custom property support this weekend. |
* Fixes issue less#4224 by improving CSS custom property handling.
It works in css,not less
The text was updated successfully, but these errors were encountered: