Created
March 17, 2023 19:39
-
-
Save Polkovn1k/d0ba4c4bf1a7d57f7976e72fb5a3fce6 to your computer and use it in GitHub Desktop.
Hide scroll in desktop (SCSS)
This file contains 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
.someElem { | |
-ms-overflow-style: none; /* for Internet Explorer, Edge */ | |
scrollbar-width: none; /* for Firefox */ | |
overflow-y: scroll; | |
} | |
.someElem::-webkit-scrollbar { | |
display: none; /* for Chrome, Safari, and Opera */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment