Skip to content

Instantly share code, notes, and snippets.

@devbyray
Created July 31, 2014 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devbyray/72ef0342ba6dc4aeb1d2 to your computer and use it in GitHub Desktop.
Save devbyray/72ef0342ba6dc4aeb1d2 to your computer and use it in GitHub Desktop.
How to hide the plus and minus button of an input type number in Google Chrome? Add this code to your CSS
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment