Brendan R Posted August 28, 2021 Share Posted August 28, 2021 Hi, I'm new to GreenSock and I'm loving it so far. I have nearly got the effect I want (in the CodePen), but the headers all trigger the animation at once. I want then to trigger on scroll when the element passes maybe 100px off the bottom of the screen. Can anyone help please? See the Pen LYLpVdV by brendan_rice (@brendan_rice) on CodePen Link to comment Share on other sites More sharing options...
Solution Carl Posted August 28, 2021 Solution Share Posted August 28, 2021 You will want create a loop so you can create animations and ScrollTriggers for each header. A basic demo is available in this thread 4 Link to comment Share on other sites More sharing options...
Brendan R Posted August 28, 2021 Author Share Posted August 28, 2021 Thank you Carl. The result looks great!! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now