.el-input__inner {
&::placeholder {
color: red;
}
&::-webkit-input-placeholder {
/* WebKit browsers 适配谷歌 */
color: red;
}
&:-moz-placeholder {
/* Mozilla Firefox 4 to 18 适配火狐 */
color: red;
}
&::-moz-placeholder {
/* Mozilla Firefox 19+ 适配火狐 */
color: red;
}
&:-ms-input-placeholder {
/* Internet Explorer 10+ 适配ie*/
color: red;
}
}
Last modification:June 3rd, 2020 at 01:23 am
© 允许规范转载