Jump to content
GreenSock

TrulyNewbie

Horizontal triggers

Go to solution Solved by TrulyNewbie,

Recommended Posts

Hi, I've been playing around with horizontal scrolling, and I've encountered a problem.

How do I scroll trigger horizontally? I was following the codepen I attached, and I've checked the forum, butI can't seem to find a solution. 

 

I want to animate each div as it comes in from the right.

 

Thank you for any help!

 

See the Pen vYWLRGZ by akapowl (@akapowl) on CodePen

Link to comment
Share on other sites

Heads up: It looks like you have a (hidden) horizontal scroll bar now, so if you're using a trackpad/magic mouse, you can horizontally scroll the site out of view of the animations/main content.

  • Like 2
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.
×