css 更改 input中 placeholder

郦磊
2023-12-01
input::-webkit-input-placeholder {
  font-size: 14px;
  font-weight: 500;
  color: #ABB0B5;
  line-height: 19px;
}
input::-moz-input-placeholder {
  font-size: 14px;
  font-weight: 500;
  color: #ABB0B5;
  line-height: 19px;
}
input::-ms-input-placeholder {
  font-size: 14px;
  font-weight: 500;
  color: #ABB0B5;
  line-height: 19px;
}
 类似资料: