Created
November 6, 2012 10:10
-
-
Save hengkiardo/4023845 to your computer and use it in GitHub Desktop.
Example of scrollbar customization (works in Webkit only)
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; | |
} | |
::-webkit-scrollbar-track { | |
background: none; | |
} | |
::-webkit-scrollbar-thumb { | |
background: -webkit-linear-gradient(left, #547c90, #002640); | |
border: 1px solid #333; | |
box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.4); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment