TikaL Posted August 5, 2022 Share Posted August 5, 2022 Hello, The codepen I attached shows a navbar that has an overflow-x set to scroll and four sections. What I would like to do is animate or scroll left and or right the ul within the sub-nav container as you scroll the page either up or down. I'm assuming this would require ScrollTrigger and the ScrollTo plugin? See the Pen qBoYmQx by TikaL13 (@TikaL13) on CodePen Link to comment Share on other sites More sharing options...
Solution GreenSock Posted August 6, 2022 Solution Share Posted August 6, 2022 Yep, exactly. See the Pen RwMyxbr?editors=0110 by GreenSock (@GreenSock) on CodePen 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