Home > Article > Web Front-end > Modify the default color of the input box placeholder text-webkit-input-placeholder method_HTML/Xhtml_web page production
html5 adds a native placeholder attribute placeholder to input. Advanced browsers support this attribute, for example:
The default placeholder font color is light gray. If you want to change this default color, the solution is as follows:
The above method of modifying the default color of the input box placeholder text - webkit-input-placeholder is all the content shared by the editor. I hope it can give you a reference, and I hope you will support Script Home.
Original address: http://www.cnblogs.com/xjuan/p/5436037.html