Created
September 14, 2013 13:38
-
-
Save PyramisDev/6562114 to your computer and use it in GitHub Desktop.
Webkit's support for scrollbars is quite sophisticated. This CSS gives a very minimal scrollbar, with a light grey track and a darker thumb: RGBA color values are supported in IE9+, Firefox 3+, Chrome, Safari, and in Opera 10+.
RGBA color values are an extension of RGB color values with an alpha channel - which specifies the opacity of the objec…
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
::-webkit-scrollbar | |
{ | |
width: 12px; /* for vertical scrollbars */ | |
height: 12px; /* for horizontal scrollbars */ | |
} | |
::-webkit-scrollbar-track | |
{ | |
background: rgba(0, 0, 0, 0.1); | |
} | |
::-webkit-scrollbar-thumb | |
{ | |
background: rgba(0, 0, 0, 0.5); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment