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
Analog to issue #1160 clean-css deletes unites after 0 in a calc() function within a transform: translateX CSS statement. CSS needs the unit however.
calc()
transform: translateX
The problem occurs in transform: translateX(calc(…)) but not in translate: calc(…) 0
transform: translateX(calc(…))
translate: calc(…) 0
.pipe(cleanCSS())
transform: translateX(calc((100% - 1.39vw)/ 4 + 0vw))
transform: translateX(calc((100% - 1.39vw)/ 4 + 0))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Analog to issue #1160 clean-css deletes unites after 0 in a
calc()
function within atransform: translateX
CSS statement. CSS needs the unit however.The problem occurs in
transform: translateX(calc(…))
but not in
translate: calc(…) 0
Environment
Configuration options
Input CSS
Actual output CSS
Expected output CSS
The text was updated successfully, but these errors were encountered: