Answers for "hide spin buttons in input 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

Browse Popular Code Answers by Language