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
4.2.1
8.11.3
var CleanCSS = require('clean-css'); new CleanCSS({ level: 2 })
:root { --border-test: 1px solid red; } .u-test { border-left: var(--border-test) !important; }
:root{--border-test:1px solid red}.u-test{border-left:none!important}
:root{--border-test:1px solid red}.u-test{border-left:var(--border-test)!important}
Without !important flag it compiles to
!important
:root{--border-test:1px solid red}.u-test{border-left:var(--border-test)}
The text was updated successfully, but these errors were encountered:
then, how to solve it finally? @pawelkondraciuk @jakubpawlowicz I also encounter this problem, Thanks!
Sorry, something went wrong.
bb222e1
No branches or pull requests
Precheck
Environment
4.2.1
:8.11.3
:Configuration options
Input CSS
Actual output CSS
Expected output CSS
Notes
Without
!important
flag it compiles toThe text was updated successfully, but these errors were encountered: