Viktor111 Posted April 14, 2022 Share Posted April 14, 2022 Hi. Trying to make infinite scrolling (loop) with ScrollTrigger and without the scrollbar. I saw the topic about infnity looping, but I don't understand how to hide the scrollbar. Is it possible to hide the scrollbar? See the Pen rNpqOQp by viktor111 (@viktor111) on CodePen Link to comment Share on other sites More sharing options...
mvaneijgen Posted April 14, 2022 Share Posted April 14, 2022 @Viktor111 ha that is a cool demo you've linked! Yesterday someone also asked how to hide the scrollbar. I would not recommend hiding the scrollbar due to accessibility reasons, but here is the CSS someone linked to hide the scrollbar in several browsers :-webkit-scrollbar { display: none; } * { -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ } 5 Link to comment Share on other sites More sharing options...
Viktor111 Posted April 14, 2022 Author Share Posted April 14, 2022 mvaneijgen, Thanks. 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