Answers for "html disable spin buttons on input type number"

CSS
0

html disable spin buttons on input type number

/* Chrome & Safari */
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;
}
Posted by: Guest on February-10-2021

Code answers related to "html disable spin buttons on input type number"

Browse Popular Code Answers by Language