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
Using calc inside box-shadow results in broken output.
calc
box-shadow
In:
.test { box-shadow: inset 0 calc(1em + 1px) 0 1px red; }
Out:
.test{box-shadow:inset 0 0 1px calc(1em + 1px) red}
For some reason cssnano moves around the values.
The text was updated successfully, but these errors were encountered:
Turns out this is caused by orderedValues.
orderedValues
For webpack users that need a temporary fix, you can add -orderedValues as a query parameter to css-loader to disable the faulty transform:
-orderedValues
css-loader
{ test: /\.css$/, loader: ExtractTextPlugin.extract('style', 'css?-orderedValues') }
Sorry, something went wrong.
Thanks, fixed. 👍
No branches or pull requests
Using
calc
insidebox-shadow
results in broken output.In:
Out:
For some reason cssnano moves around the values.
The text was updated successfully, but these errors were encountered: