Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.