Created
June 8, 2015 08:57
-
-
Save bahuma20/6d24d8ba1250050edd37 to your computer and use it in GitHub Desktop.
Style Webkit Scrollbars like google does in Google+
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: 10px; | |
} | |
::-webkit-scrollbar-track { | |
background: #FFF; | |
-webkit-box-shadow: inset 1px 1px 2px rgba(0,0,0,0.1); | |
} | |
::-webkit-scrollbar-thumb { | |
background: #CCC; | |
-webkit-box-shadow: inset 1px 1px 2px rgba(0,0,0,0.2); | |
} | |
::-webkit-scrollbar-thumb:hover { | |
background: #AAA; | |
} | |
::-webkit-scrollbar-thumb:active { | |
background: #888; | |
-webkit-box-shadow: inset 1px 1px 2px rgba(0,0,0,0.3); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment