1、去除input默认样式
input,button,select,textarea{
outline:none;
border:0;
-webkit-appearance: none;
}
去除表单input,button等默认样式css
2、去除input属性type=number时候后面的额上下小尾巴
input[type=number] {
-moz-appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
input,button,select,textarea{
outline:none;
border:0;
-webkit-appearance: none;
}
去除表单input,button等默认样式css
2、去除input属性type=number时候后面的额上下小尾巴
input[type=number] {
-moz-appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}