vue+elementUi 用到type=‘number’ 默认样式清除
/*------------------------修改type=number的样式------------------------------------------------*/input::-webkit-outer-spin-button,input::-webkit-inner-spin-button {-webkit-appearance: none;...
·
/*------------------------修改type=number的样式------------------------------------------------*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
input[type="number"]{
-moz-appearance: textfield;
}
更多推荐
已为社区贡献1条内容
所有评论(0)