#iInput::-webkit-input-placeholder {color: blue;} #iInput:-moz-placeholder {color: blue;} #iInput:-ms-input-placeholder {color: blue;} <input id='iInput' placeholder='lol'/> <br> <textarea id='iInput' placeholder='lol'></textarea>
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/166752.html原文链接:https://javaforall.cn