Skip to content

Instantly share code, notes, and snippets.

@siannopollo
Created September 9, 2009 19:52
Show Gist options
  • Select an option

  • Save siannopollo/184028 to your computer and use it in GitHub Desktop.

Select an option

Save siannopollo/184028 to your computer and use it in GitHub Desktop.
=horizontal_scrollbar
&::-webkit-scrollbar
height: 16px
&::-webkit-scrollbar:disabled
height: 0
&::-webkit-scrollbar-button:horizontal
height: 16px
width: 19px
&::-webkit-scrollbar-button:start:decrement:horizontal, &::-webkit-scrollbar-button:end:increment:horizontal
display: block
&::-webkit-scrollbar-button:start:increment:horizontal, &::-webkit-scrollbar-button:end:decrement:horizontal
display: none
&::-webkit-scrollbar-button:start:decrement:horizontal
background: url(/images/scrollbar_decrement_button.png) no-repeat
&::-webkit-scrollbar-button:end:increment:horizontal
background: url(/images/scrollbar_increment_button.png) no-repeat
&::-webkit-scrollbar-thumb:horizontal
-webkit-border-image: url(/images/scrollbar_thumb.png) 0 16 0 16
border-color: transparent
border-width: 0 16px
min-width: 20px
&::-webkit-scrollbar-thumb:horizontal:active
-webkit-border-image: url(/images/scrollbar_thumb_active.png) 0 16 0 16
&::-webkit-scrollbar-track-piece:horizontal, &::-webkit-scrollbar-track:horizontal:disabled
-webkit-border-image: url(/images/scrollbar_track.png) 0 16 0 16
border-color: transparent
border-width: 0 16px
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment