Answers for "how to remove increment in input type number"

CSS
1

how to remove increment in input type number

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

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
Posted by: Guest on June-12-2021

Code answers related to "how to remove increment in input type number"

Browse Popular Code Answers by Language