Skip to content

Instantly share code, notes, and snippets.

@willwright82
Created April 4, 2022 14:25
Show Gist options
  • Save willwright82/edb6e17fa95dcd8db59d88dabd02bdec to your computer and use it in GitHub Desktop.
Save willwright82/edb6e17fa95dcd8db59d88dabd02bdec to your computer and use it in GitHub Desktop.
Force display scrollbar on Mac OS using CSS — Source: https://davidwalsh.name/osx-overflow
::-webkit-scrollbar {
-webkit-appearance: none;
width: 7px;
}
::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: rgba(0, 0, 0, .5);
-webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment