::-webkit-input-placeholder {
color: #ffffff;
font-weight: 400;
}
/* Firefox 4-18 */
:-moz-placeholder {
color: #ffffff;
font-weight: 400;
}
/* Firefox 19-50 */
::-moz-placeholder {
color: #ffffff;
font-weight: 400;
}
/* - Internet Explorer 10–11
- Internet Explorer Mobile 10-11 */
:-ms-input-placeholder {
color: #ffffff !important;
font-weight: 400 !important;
}
/* Edge (also supports ::-webkit-input-placeholder) */
::-ms-input-placeholder {
color: #ffffff;
font-weight: 400;
}
/* CSS Working Draft */
::placeholder {
color: #ffffff;
font-weight: 400;
}
vant 修改 placeholder 样式
最新推荐文章于 2024-05-17 14:18:02 发布