how to disable increase descrease buttons of input type number in html

Solutions on MaxInterview for how to disable increase descrease buttons of input type number in html by the best coders in the world

showing results for - "how to disable increase descrease buttons of input type number in html"
Jacopo
11 Jun 2017
1input[type=number]::-webkit-inner-spin-button,
2input[type=number]::-webkit-outer-spin-button {
3-webkit-appearance: none;
4margin: 0;
5}