Skip to content

Instantly share code, notes, and snippets.

@johnny-b-good
Created December 31, 2019 08:48
Show Gist options
  • Save johnny-b-good/bfc1bab201cc48d962995ca54ab1b940 to your computer and use it in GitHub Desktop.
Save johnny-b-good/bfc1bab201cc48d962995ca54ab1b940 to your computer and use it in GitHub Desktop.
.no-scroll {
overflow-x: scroll;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE 10+ */
}
.no-scroll::-webkit-scrollbar { /* WebKit */
width: 0;
height: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment