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
Is this plugin support to set the vars under the class, ex. .test{ --color; red; }
The text was updated successfully, but these errors were encountered:
Vars must be defined as :root-level declarations.
:root
This will work:
:root { --a: red; } p { color: var(--a); }
This will not work:
p { --a: red; color: var(--a); }
Creating a pony/polyfill to handle scoped variables (the second example) simply isn't possible. Many discussions have been had on the topic:
Hence the :root-level limitation. 😄
Sorry, something went wrong.
No branches or pull requests
Is this plugin support to set the vars under the class,
ex.
.test{
--color; red;
}
The text was updated successfully, but these errors were encountered: