隐藏input type='number'时自带的加减按钮,如图
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
input[type='number'] {
-moz-appearance: textfield;
}
标签:button,appearance,number,webkit,input,type
来源: https://www.cnblogs.com/xi-li/p/16696134.html