Created
June 28, 2016 05:42
-
-
Save Obooman/926e91c259de79af4295cc2634a6548c to your computer and use it in GitHub Desktop.
scrollbar selector
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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