Created
October 14, 2013 08:01
-
-
Save yagopv/6972385 to your computer and use it in GitHub Desktop.
Scrollbars
This file contains hidden or 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: 5px; | |
} | |
WebKit | |
______ | |
Set overflow : scroll; !! | |
/* 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(0,0,0,0.4); | |
} | |
Internet Explorer | |
__________________ | |
scrollbar-base-color: #C0C0C0; | |
scrollbar-base-color: #C0C0C0; | |
scrollbar-3dlight-color: #C0C0C0; | |
scrollbar-highlight-color: #C0C0C0; | |
scrollbar-track-color: #EBEBEB; | |
scrollbar-arrow-color: black; | |
scrollbar-shadow-color: #C0C0C0; | |
scrollbar-dark-shadow-color: #C0C0C0; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment