Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
bennyboy1978

Animating a fixed element - scrollTrigger

Go to solution Solved by mvaneijgen,

Recommended Posts

  • Solution

Hey I forked your pen and add some more text elements with some spacing between. And it is already doing what you want right? 

 

See the Pen xxXdqBW?editors=1100 by mvaneijgen (@mvaneijgen) on CodePen

 

I you don't want the text shown already at the start you just need to add an empty space to the beginning.

 

Hope it helps,

 

PS: Did some more tweaks, gave all the text elements an height of 100vh (and centered them) add a `endTrigger` to be the end of the `.d-flex` so it pins the graphic 100% of its height.

  • Like 5
Link to comment
Share on other sites

That's exactly what I wanted! Thanks so much for your help 😀

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×