Last active
July 26, 2018 08:08
-
-
Save wall-e-08/a3255ce540b8598314832f080f10ab10 to your computer and use it in GitHub Desktop.
input type number with no spinner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* chrome */ | |
input[type=number]::-webkit-inner-spin-button, | |
input[type=number]::-webkit-outer-spin-button { | |
-webkit-appearance: none; | |
margin: 0; | |
} | |
/* firefox */ | |
input[type=number] { | |
-moz-appearance:textfield; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment