Skip to content

Instantly share code, notes, and snippets.

@Lokua
Created September 15, 2014 08:24
Show Gist options
  • Save Lokua/ea50938fae4316340bc7 to your computer and use it in GitHub Desktop.
Save Lokua/ea50938fae4316340bc7 to your computer and use it in GitHub Desktop.
css range slider
input[type=range] {
-webkit-appearance: none;
background-color: #ccc;
width: 200px;
height: 4px;
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 50%;
width: 12px;
height: 12px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment