对应三种浏览器:
input ::-webkit-input-placeholder {
font-size: 16px;
font-weight: 400;
color:red;
}
input :-ms-input-placeholder {
font-size: 16px;
font-weight: 400;
color:red;
}
input:-moz-placeholder {
font-size: 16px;
font-weight: 400;
color:red;
}
记录:修改placeholder样式
最新推荐文章于 2023-09-14 21:58:10 发布