.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
如果觉得我的文章对你有用,请随意赞赏