Skip to content

CSS code snippet – How to disable increase descrease buttons of input type number in html?

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
See also  How to replace all of one character with nothing in Java?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.