Hi,
I need advice on how to create responsive timelines (+ scrollTrigger).
In my animation, I want to use different target heights (gsap.to) depending on the width of the browser window.
In my case, I have a divider that should be higher on mobile and lower on desktop devices (after the animation is finished). These values should update when someone resizes the browser window. I tried to do this (codepen included) but when I resize the browser window, the animation behaves strange.
I'm not sure if I should kill the animation and then recreate it... Ah, my head is tired today, please help
Thank you!