Created
June 15, 2016 18:30
-
-
Save bargar/554a981a26f3318b726aca1c17f3026f to your computer and use it in GitHub Desktop.
minimal but more pleasant scrollbar styling for webkit
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
// blend in with background, less visually jarring than native | |
$scrollbar-size: 7px; | |
::-webkit-scrollbar { | |
background-color: $background-color; | |
width: $scrollbar-size; | |
height: $scrollbar-size; | |
} | |
::-webkit-scrollbar-thumb { | |
background:#999; | |
border-radius: $scrollbar-size / 2; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment