Hello,
I have some lines on my html that i want to animate from left to their original position on scroll.
I have the result i want to all lines in DOM except the first two lines that are already in my viewport at refresh.
Firstly, i tried with scrollTrigger and toggleClass variables and did the animation with css only and width value. But i read somewhere that is more optimized to go with transform property.
Can someone help me with what i'm doing wrong?