Jittering infinite horizontal scroll animation tailwindcss
Hi, I am currently working on implementing a infinite scrolling horizontal component in one of my projects. My current implementation almost works but when the scroll loops back around to the beginning it jitters and stutters instead of looping back smoothly.
Can someone help me figure out how to get rid of this jitter and make the animation smooth? Here is a tailwind playground environment with the reproduced issue in a simplified setting:
https://play.tailwindcss.com/QEIuz1dYBX
If you go to the tailwind config section you should see the animation and corresponding keyframe I made.
Thanks in advance!
Tailwind Play
Tailwind Play
An advanced online playground for Tailwind CSS that lets you use all of Tailwind's build-time features directly in the browser.
0 Replies