Replies: 2 comments 8 replies
-
No one? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, This can be one of the PostCSS plugins used, but I am not sure which one. It looks a lot like this other issue: #62002 (comment) Most definitely not the actual same issue, but it is a start I guess. What's happening is that when you do So, we have to figure out which step of that process is removing the unit. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
So, I am using the new @Property css rule (https://developer.mozilla.org/en-US/docs/Web/CSS/@property) to animate some gradient masks. The issue is that CSS minifying process replaces the value of 0% with 0 and that causes the animation to fail as the value is expected to be percentage, not an integer. It is working correctly in local dev environment but when deployed to Vercel, no luck. Is there any way to fix this problem? I am using the latest version of Next.js.
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions