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
Hello,
Not sure whether this has been reported (or whether it's not supposed to work by design) but the following:
@function testfunc($x) { @return $x; } body { --test: testfunc(42); -test: testfunc(42); test: testfunc(42); }
Turns into the following CSS:
body { --test: testfunc(42); -test: 42; test: 42; }
Is there any reason why the CSS variable one does not work?
The text was updated successfully, but these errors were encountered:
Hm nevermind just found this: sass/libsass#2621 and the following indeed works:
body { --test: #{testfunc(42)}; }
Sorry, something went wrong.
Check out this blog post if you're interested in learning why interpolation is required here.
Thanks, that makes a lot of sense (and I assume I won't be the last one to run into this).
No branches or pull requests
Hello,
Not sure whether this has been reported (or whether it's not supposed to work by design) but the following:
Turns into the following CSS:
Is there any reason why the CSS variable one does not work?
The text was updated successfully, but these errors were encountered: