Relative Content

Tag Archive for cssanimationcss-animations

CSS issue with animation-back of nth-of-type

I’m trying to target every nth-of-type for returning to the original position sequentially like moving to the right in this way. I’m new to programming, so maybe someone could help me solve this. Thank you in advance for your answers!
I tried to assign to each different “transform: translateX($)” turn to “transform: translateX(0)” but it doesn’t work ofc.

Infinite horizontal scroll animation

I am trying to make an infinite scrolling animation without “blinking” and empty spaces. The problem is when I’m using max-width of 1300px and my text inside list element is short, I still get this “blinking” effect and a lot of empty space between last and first element. I suppose I need to do some kinda calculations in my calc function, but I can’t wrap my head around it. Do you have any ideas?