Skip to content

Instantly share code, notes, and snippets.

@Obooman
Created June 28, 2016 05:42
Show Gist options
  • Save Obooman/926e91c259de79af4295cc2634a6548c to your computer and use it in GitHub Desktop.
Save Obooman/926e91c259de79af4295cc2634a6548c to your computer and use it in GitHub Desktop.
scrollbar selector
/* Let's get this party started */
::-webkit-scrollbar {
width: 12px;
}
/* Track */
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
-webkit-border-radius: 10px;
border-radius: 10px;
}
/* Handle */
::-webkit-scrollbar-thumb {
-webkit-border-radius: 10px;
border-radius: 10px;
background: rgba(255,0,0,0.8);
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}
::-webkit-scrollbar-thumb:window-inactive {
background: rgba(255,0,0,0.4);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment