How to add different scroll speed when using ScrollTrigger
I have three background-images where each one of them should have a different scrollspeed. I tried to use scrollTrigger
from gsap
but for some reason the scrolling speed is the same on each Image.
gsap scrolltrigger for horizontal content
I’m really struggling with gsap.
Im trying to have room-top__flex content to scroll horizontally when room-top is pinned.
It’s working but my issue is that i would like it to be unpinned when the last gsap-room is fully seen (so we still see some part of the second one) but right now its been unpinned when the last gsap-room is on the left of the screen so there is a blank space on the right.
Is there a way ? i dont mind the last gsap-room expanding to take the full width.
gsap scrolltrigger for horizontal content
I’m really struggling with gsap.
Im trying to have room-top__flex content to scroll horizontally when room-top is pinned.
It’s working but my issue is that i would like it to be unpinned when the last gsap-room is fully seen (so we still see some part of the second one) but right now its been unpinned when the last gsap-room is on the left of the screen so there is a blank space on the right.
Is there a way ? i dont mind the last gsap-room expanding to take the full width.