Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

html style input number buttons

/* Mozilla */
input[type=number] { 
    -moz-appearance: textfield;
    appearance: textfield;
    margin: 0; 
}
/* Chrome */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { 
      -webkit-appearance: none; 
      margin: 0; 
}
 
PREVIOUS NEXT
Tagged: #html #style #input #number #buttons
ADD COMMENT
Topic
Name
5+2 =