CarlosG Posted July 24, 2023 Share Posted July 24, 2023 HI, i had a slider like this one, but wan to had the next section waiting to enter and be visible, not like in the example where the yellow section scrolls in See the Pen oNQPLrR by cgallardoBSA (@cgallardoBSA) on CodePen Link to comment Share on other sites More sharing options...
mvaneijgen Posted July 24, 2023 Share Posted July 24, 2023 Is this what you're are looking for? I didn't understand your question fully I've made the yellow section part of the pinned section, so everything gets pinned at once. Hope it helps and happy tweening! See the Pen OJaobQB?editors=1000 by mvaneijgen (@mvaneijgen) on CodePen 3 Link to comment Share on other sites More sharing options...
CarlosG Posted July 25, 2023 Author Share Posted July 25, 2023 thanks but the issue is in this case the yellow section is a different block, it depends on how the page is setup, is a wordpress site using blocks Link to comment Share on other sites More sharing options...
Solution mvaneijgen Posted July 25, 2023 Solution Share Posted July 25, 2023 You can set any element you like to pin, so also the most upper parent that wraps them all. Here a version where the body gets pinned: See the Pen QWJVORp?editors=0010 by mvaneijgen (@mvaneijgen) on CodePen 1 Link to comment Share on other sites More sharing options...
CarlosG Posted July 25, 2023 Author Share Posted July 25, 2023 thanks a lot, it works!!! 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