birdyoung Posted November 24, 2022 Share Posted November 24, 2022 I've created a horizontal slider but I need to remove the white space from underneath the gallery. I wont to sort of lock onto the gallery in the middle of the screen, force the user the scroll to the end of the gallery before moving on. Current there's way too much white space and I don't know how to remove it. Can anyone give me a hand? See the Pen abKYRGZ by mattmcgilton (@mattmcgilton) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted November 24, 2022 Share Posted November 24, 2022 If I understand your goal correctly, then just wrap your whole page in a <div> and pin that instead: See the Pen LYrdqEG?editors=0010 by GreenSock (@GreenSock) on CodePen 1 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