Jump to content
Search Community

How to pin a container and mask the inner sections using ScrollTrigger

hako test
Moderator Tag

Recommended Posts

I am glad to meet you
I would like to know how the image switches based on the Y axis in the demo you implemented.

 

Please let us know when you have time.
We would be very grateful for your advice!

 

Orignal location:

 

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

Edited by mvaneijgen
Split post
Link to comment
Share on other sites

Hi @hako welcome to the forum!

 

What is your question? I've split your reply in to its own topic. The pen you're talking about uses ScrollTrigger with a pin that animates an animation on scroll.  Check out this tutorial how to work with ScrollTrigger. Hope it helps and happy tweening! 

 

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...