-
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
variable evaluation in the CSS property #345
Comments
Clever ! +1 |
+1. I've also found myself wondering similar in other situations, whether a variable could be output as part of the property |
It's by default supported by stylus and it's called interpolation. Could be a good addition to less ;) |
+1. It's only natural, and would save a lot of doubling up in complex systems. |
This is actually a duplicate issue of #36, which has a longer discussion on the subject. |
The developer at Stylus is facing almost the opposite question: in Stylus, interpolation is currently used only in the property and not in the value. Many users over there are also asking for wider support too. I can't imagine why both LESS and Stylus shouldn't be able to implement interpolation in all circumstances... |
Closing as a duplicate of #36 |
Hi,
In order to allow this — see the initial question on stackoverflow:
can you see any solution for the parser allows variable evaluation int the CSS property?
Thank you
The text was updated successfully, but these errors were encountered: