Created
December 16, 2016 07:36
-
-
Save southill/0a6daed412e5b20571d05b9fdea9d7d3 to your computer and use it in GitHub Desktop.
webkit scroll bar setting
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 { | |
-webkit-appearance: none; | |
} | |
::-webkit-scrollbar:vertical { | |
width: 6px; | |
} | |
::-webkit-scrollbar:horizontal { | |
height: 12px; | |
} | |
::-webkit-scrollbar-thumb { | |
background-color: #f2bc00; | |
border-radius: 10px; | |
// border: 2px solid #ffffff; | |
} | |
::-webkit-scrollbar-track { | |
border-radius: 10px; | |
// background-color: #ffffff; | |
background-color: rgba(0, 0, 0, .3); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment