Created
July 9, 2019 22:16
-
-
Save MurhafSousli/d5e77c8edf84f9f91b4aa54c05c2d588 to your computer and use it in GitHub Desktop.
Hide native scrollbars on all desktop browsers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.hide-native-scrollbar { | |
scrollbar-width: none; /* Firefox 64 */ | |
-ms-overflow-style: none; /* IE 11 */ | |
&::-webkit-scrollbar { /** Webkit */ | |
display: none; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment