Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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;
}
Source by css-tricks.com #
 
PREVIOUS NEXT
Tagged: #html #disable #spin #buttons #input #type #number
ADD COMMENT
Topic
Name
7+9 =