Jump to content
Search Community

Finish off Requirements - horizontal sliding + vertical snapping

bultano test
Moderator Tag

Recommended Posts

Hi all

 

Please see the codepen below:

See the Pen YzOzoWV by bultano (@bultano) on CodePen

 

Goals:

-Vertical snapping between sections [done]

- horizontal scrolling on particular section with pills then scroll to next section [done]

- allow the above animations to work when the user scrolls back up [outstanding]

 

I think the answer is something to do with the pinning, as it adds spacing when pinning i believe this is why the scroll up does not work after 

 

also in the codepen i am killing the horizontal scroll trigger (i know i need to remove this if i want to play that horizontal scroller in reverse)

 

Thanks

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