Skip to content

Instantly share code, notes, and snippets.

@think2011
Last active April 7, 2017 09:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save think2011/c86ed535f812e6eff60b76ee5cabb3c4 to your computer and use it in GitHub Desktop.
Save think2011/c86ed535f812e6eff60b76ee5cabb3c4 to your computer and use it in GitHub Desktop.
os x style scroller
::-webkit-scrollbar {
width: 6px;
height: 8px;
}
::-webkit-scrollbar-track {
-webkit-border-radius: 5px;
border-radius: 5px;
background: rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-thumb {
-webkit-border-radius: 5px;
border-radius: 5px;
background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb:hover {
background: rgba(0, 0, 0, 0.4);
}
::-webkit-scrollbar-thumb:window-inactive {
background: rgba(0, 0, 0, 0.05);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment