Jump to content


How can I make this example more simple?

Recommended Posts


I just found this example on github.


I want the vertical multiple items sliding. But I don't need loop, or next-prev buttons.

I tried to remove them but every time I remove anything it breaks.


Also, it doesn't work when I try to use the section between two static divs(header and footer).


Could you help me to make it simpler please?


See the Pen yLMrwrK?editors=1010 by mikeK (@mikeK) on CodePen

Link to comment
Share on other sites

Hi there,


Rewriting a demo to fit a specific spec is quite a large ask and a little out of scope for these forums. But! Good news - there was an article written about this demo that should help you untangle the logic behind it a little bit.


I'd suggest reading the article and giving it a go yourself. If you get stuck and have specific questions about any GSAP functionality, pop back and we'll try to help!

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