How to reduce cutting edges #115
-
Hey Currently, the animation is cutting in the edge of part="number" (check screenshot). I want to achieve the result where numbers should cutting immediately (check another screenshot I left a red line where I want to set a new edge for animation). Maybe someone can help with it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi 👋, you should be able to use the |
Beta Was this translation helpful? Give feedback.
-
Hey :) Thx it helped but for my desired result I also use additional var It works well but one issue was spotted with commas (check my screenshot the comma was cut with overflow: hidden container). So where I don't use commas I use So thx @barvian for your help. |
Beta Was this translation helpful? Give feedback.
Hi 👋, you should be able to use the
--number-flow-mask-height
and--number-flow-mask-width
CSS vars to achieve this. Here's a demo. Please let me know if that will work for you