How to use CSS to hide scrollbars without impacting scrolling - LogRocket Blog
Briefly

This guide explains how to hide scrollbars in modern web browsers using CSS techniques. Although changing default browser styles is generally discouraged for accessibility, hiding scrollbars can enhance aesthetics, streamline space, and create a cleaner design for elements that don't require scrolling, like slideshows or galleries. On mobile devices, keeping horizontal scrollbars hidden caters to user expectations of vertical navigation. Understanding HTML and CSS basics is essential for implementing these techniques effectively.
To achieve a more streamlined appearance, certain websites alter, customize, or completely hide the scrollbar, either for the entire webpage or specific elements.
While it's generally recommended to avoid altering or overriding default browser styles for accessibility reasons, there can be compelling justifications for hiding scrollbars.
Hiding scrollbars can create a smoother interaction and eliminate distractions from the overall feature.
On mobile devices, especially smartphones, users typically expect vertical scrolling, with no need for horizontal movement, creating a more natural feel.
Read at LogRocket Blog
[
|
]