Jump to content

Ivan Mocs

ScrollTrigger running invert

Go to solution Solved by mvaneijgen,

Recommended Posts

  • Solution

I'm sorry to say, but I'm really getting sea sick when scrolling on your page. 


The example you've linked doesn't hack the scroll of the bowser and probably has different values when running the logic. If you're looking for a smooth scroll library that is build for ScrollTrigger I would suggest looking in to the SmoothScroll plugin from GSAP. 


That said, if I change the y: value to a negative value the elements move up.


See the Pen qByYoLe?editors=1010 by mvaneijgen (@mvaneijgen) on CodePen

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