Monday, January 25, 2016

Hiding the Spinner arrow key on Input Type Number on Firefox and Chrome

Firefox
input[type=number] {-moz-appearance: textfield;}


Chrome
::-webkit-inner-spin-button { -webkit-appearance: none;margin:0;}

::-webkit-outer-spin-button { -webkit-appearance: none;;margin:0;}

No comments:

Post a Comment