Created
June 28, 2010 14:45
-
-
Save keithnorm/455937 to your computer and use it in GitHub Desktop.
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
/* Scrollbars */ | |
::-webkit-scrollbar { | |
width: 15px; | |
height: 15px; | |
} | |
/* Turn on single button up on top, and down on bottom */ | |
::-webkit-scrollbar-button:start:decrement, | |
::-webkit-scrollbar-button:end:increment { | |
display: none; | |
} | |
/* Turn off the down area up on top, and up area on bottom */ | |
::-webkit-scrollbar-button:start:increment, | |
::-webkit-scrollbar-button:end:decrement { | |
display: none; | |
} | |
::-webkit-scrollbar-track { | |
-webkit-border-image: url(images/scrollbar.png) 7 7 7 7 / 7px 7px 7px 7px stretch repeat; | |
border-width:7px; | |
} | |
/* Top area above thumb and below up button */ | |
::-webkit-scrollbar-track-piece:start { | |
border: none; | |
} | |
/* Bottom area below thumb and down button */ | |
::-webkit-scrollbar-track-piece:end { | |
border: none; | |
} | |
/* Track below and above */ | |
::-webkit-scrollbar-track-piece { | |
background-color: transparent; | |
} | |
/* The thumb itself */ | |
::-webkit-scrollbar-thumb { | |
-webkit-border-image: url(images/scrollbar.png) 7 7 7 7 / 7px 7px 7px 7px stretch repeat; | |
border-width:7px; | |
-webkit-transition:0.2s linear; | |
} | |
/* Corner */ | |
::-webkit-scrollbar-corner { | |
background-color: transparent; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment