Skip to content

Instantly share code, notes, and snippets.

@DanAntFerrari
Created July 24, 2013 10:17
Show Gist options
  • Save DanAntFerrari/6069428 to your computer and use it in GitHub Desktop.
Save DanAntFerrari/6069428 to your computer and use it in GitHub Desktop.
Disable webkit's appearance default browser style for input type=“number” and input type=“range”
//Disable spin buttons on input type=“number” and input slider type=“range” in Webkit browsers
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button,
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
margin: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment