Skip to content

Instantly share code, notes, and snippets.

@shansana
Created September 25, 2018 05:32
Show Gist options
  • Save shansana/2e3119c5fc28bd6ef720290fc9fb30b3 to your computer and use it in GitHub Desktop.
Save shansana/2e3119c5fc28bd6ef720290fc9fb30b3 to your computer and use it in GitHub Desktop.
Webkit styles for scrollbar
/* scrollbar */
*::-webkit-scrollbar-track
{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
background-color: #F5F5F5;
}
*::-webkit-scrollbar
{
width: 10px;
background-color: #F5F5F5;
}
*::-webkit-scrollbar-thumb
{
background-color: #505050;
border-radius: 2px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment