Skip to content

Instantly share code, notes, and snippets.

@anova
Created August 11, 2023 09:30
Show Gist options
  • Save anova/d809228e7f847640df2c1671925e05c4 to your computer and use it in GitHub Desktop.
Save anova/d809228e7f847640df2c1671925e05c4 to your computer and use it in GitHub Desktop.
Custom scrollbar example
::-webkit-scrollbar {
width: 5px;
}
::-webkit-scrollbar-thumb {
background-color: black;
}
::-webkit-scrollbar-track {
box-shadow: inset 0 0 2px gray;
background-color: white;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment