Skip to content

Instantly share code, notes, and snippets.

@robmcalister
Created September 30, 2013 15:38
Show Gist options
  • Save robmcalister/6765656 to your computer and use it in GitHub Desktop.
Save robmcalister/6765656 to your computer and use it in GitHub Desktop.
Always show scrollbars on DOM elements set to overflow: scroll; Yes, even on OS X Lion.
::-webkit-scrollbar {
-webkit-appearance: none;
width: 7px;
}
::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: rgba(0,0,0,.5);
-webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment