Skip to content

Instantly share code, notes, and snippets.

@krabs-github
Created September 29, 2021 19:31
Show Gist options
  • Save krabs-github/5b001659ef663cfc23f815abdd20d84b to your computer and use it in GitHub Desktop.
Save krabs-github/5b001659ef663cfc23f815abdd20d84b to your computer and use it in GitHub Desktop.
[Style Scroll Bar] Style Scroll Bar #Web
<style>
/* width */
::-webkit-scrollbar {
width: 8px;
}
/* Track */
::-webkit-scrollbar-track {
background: #f1f1f1;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #888;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #555;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment