GSAP animation at different breakpoints

Hi,

Is it possible to change Gsap animation on other screen sizes? Because on the desktop a 800px offset looks good, but on a tablet the offset is too big. But if I change it on mobile, then the meaning of the animation changes on large screens.

Hey, not really, you can only disable it on different devices, but you can’t change it.

One workaraound is to have an additional div wrapper of whatever are you animating, and then apply same animation with a bit of differences to that div wrapper and disable that on desktop, while on div where you created animation for desktop, disable tablet and other devices

1 Like

Thanks Pakic, I was thinking about this option, but suddenly I thought there were still ways.

By the way, make it possible to copy animations, sometimes it’s not enough.