input中的placeholder的样式
.el-input__inner::-webkit-input-placeholder {
color: #606266; /* WebKit browsers */
}
.el-input__inner:-moz-placeholder {
color: #606266; /* Mozilla Firefox 4 to 18 */
}
.el-input__inner::-moz-placeholder {
color: #606266; /* Mozilla Firefox 19+ */
}
.el-input__inner:-ms-input-placeholder {
color: #606266; /* Internet Explorer 10+ */
}
当没办法用el-input-number的时候,会用input type="number"
会吧后面的控制器给去掉
/*在谷歌下移除input[number]的上下箭头*/
.el-input__inner[type="number"]::-webkit-outer-spin-button,
/deep/.el-input__inner[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none !important;
margin: 0;
}
/*在firefox下移除input[number]的上下箭头*/
.el-input__inner[type="number"] {
-moz-appearance: textfield;
}