techguru1234
techguru1234
KPCKevin Powell - Community
Created by techguru1234 on 4/29/2024 in #front-end
Create an infinite horizontal scroll animation
Regarding this amazing tutorial: https://www.youtube.com/watch?v=iLmBy-HKIAw&t=524s&ab_channel=KevinPowell. I followed Kevins tutorial and in that video Kevins used max-width of 600px for scroller container, for my project I am using max-width of 1300px for my scrolling container but I still get this "blinking" effect and a lot of empty space between last and first element. My code is the same as Kevins, but it still "blinking", I have short text inside scroller and I am not sure what causes this bug to appear. Do you know how can i solve it? Here is the link to Kevins codesandbox, if you try to change max-width from 600px to 1300px you will get what I am trying to say: https://codepen.io/kevinpowell/pen/BavVLra
4 replies