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()
Usually the expressions in calc() can be expanded further in order to reduce the number of bytes.
There is a lot of this styles in animate.css:
animate.css
animation-delay: calc(1s * 2) = animation-delay: 2s
.animate__animated.animate__delay-2s { -webkit-animation-delay: calc(1s * 2); animation-delay: calc(1s * 2); -webkit-animation-delay: calc(var(--animate-delay) * 2); animation-delay: calc(var(--animate-delay) * 2); }
But if there are percentages in calc(), we have to treat them differently and not expand them. see evanw/esbuild#1821
No response
The text was updated successfully, but these errors were encountered:
https://cssnano.co/docs/optimisations/calc/
Sorry, something went wrong.
No branches or pull requests
Describe the feature
Usually the expressions in
calc()
can be expanded further in order to reduce the number of bytes.There is a lot of this styles in
animate.css
:animation-delay: calc(1s * 2) = animation-delay: 2s
But if there are percentages in
calc()
, we have to treat them differently and not expand them. see evanw/esbuild#1821Babel plugin or link to the feature description
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: