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
calc(<LENGTH> - 0)
<LENGTH>
I encountered this code snippet in my CSS:
.foo { margin: calc(100px - 0); }
This should be simplified to:
.foo{margin:100px}
cssnano playground
But Lightning CSS outputs:
.foo{margin:calc(100px - 0)}
Lightning CSS playground
A input of 0px instead of 0 gives .foo{margin:100px} on both minifiers.
0px
0
.foo { margin: calc(100px - 0px); }
If this is an unsafe operation, let me know what the possible corner case is.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I encountered this code snippet in my CSS:
This should be simplified to:
cssnano playground
But Lightning CSS outputs:
Lightning CSS playground
A input of
0px
instead of0
gives.foo{margin:100px}
on both minifiers.If this is an unsafe operation, let me know what the possible corner case is.
The text was updated successfully, but these errors were encountered: