.your_input::-webkit-input-placeholder{
color:#b4b5bf !important;;
}
.
your_input:-moz-placeholder{
color:#b4b5bf !important;;
}
.your_input:-ms-input-placeholder{
color:#b4b5bf !important;;
}
your_input为对应的类名
.your_input::-webkit-input-placeholder{
color:#b4b5bf !important;;
}
.
your_input:-moz-placeholder{
color:#b4b5bf !important;;
}
.your_input:-ms-input-placeholder{
color:#b4b5bf !important;;
}
your_input为对应的类名
转载于:https://www.cnblogs.com/yuan-luo/p/8508550.html