Greensock (GSAP) ScrollTrigger - 2 consecutive ScrollTrigger animations?
GH: https://github.com/nnall/GSAP/tree/main/experiments/react-playground/src
I have a para that I've applied a 'SplitType' to in order to get the paragraph lines, apply .to() methods to them, and translate them X in my GSAP scrollTrigger animation:
Each of the paragraph lines come into screen from the right side (translate x) when the user scrolls downward, starting at the top line moving to the bottom, and with a slight stagger thanks to the
I have a para that I've applied a 'SplitType' to in order to get the paragraph lines, apply .to() methods to them, and translate them X in my GSAP scrollTrigger animation:
Each of the paragraph lines come into screen from the right side (translate x) when the user scrolls downward, starting at the top line moving to the bottom, and with a slight stagger thanks to the
"-=2.5". I want to have a second scrollTrigger animation to move the lines back out - see my comment..GitHub
for GSAP experimenting. Contribute to nnall/GSAP development by creating an account on GitHub.
