Agnus Posted September 24, 2022 Share Posted September 24, 2022 Hi, In this codepen () the component inside the container class, is scrolling Horizontally. How can i make those sections to slide on scroll ? See the Pen WNjaxKp by GreenSock (@GreenSock) on CodePen Link to comment Share on other sites More sharing options...
Rodrigo Posted September 24, 2022 Share Posted September 24, 2022 Hi @Agnus and welcome to the GreenSock forums! You might want to take a look at snapping sections. Take a look at this codepen example, more specifically line 27: See the Pen bGexQpq by GreenSock (@GreenSock) on CodePen This is just snapping horizontal sections: See the Pen YzygYvM by GreenSock (@GreenSock) on CodePen Happy Tweening!!! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now