Jump to content
Search Community

Create a scroll trigger image appearance effect

Harley Dev test
Moderator Tag

Go to solution Solved by Rodrigo,

Recommended Posts

  • Solution

Hi @Harley Dev and welcome to the GSAP Forums!

 

Your demo actually doesn't have any GSAP implementation in it.

 

What I would suggest you is to go to our Learning Center and check our getting started section:

https://gsap.com/resources/get-started

 

Is far better to just get the animation working the way you intend first and then add ScrollTrigger to the mix. ScrollTrigger only controls a GSAP Tween/Timeline based on the scroll position, nothing more.

 

Finally you can have a look a these demos in order to see how they work:

See the Pen rNJQPXz by GreenSock (@GreenSock) on CodePen

 

See the Pen BarmbXq by GreenSock (@GreenSock) on CodePen

 

Hopefully this helps.

Happy Tweening!

  • 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.
×
×
  • Create New...