CSS color for placeholder html
This question already has an answer here:
http://css-tricks.com/snippets/css/style-placeholder-text/
::-webkit-input-placeholder {
color: red;
}
:-moz-placeholder { /* Firefox 18- */
color: red;
}
::-moz-placeholder { /* Firefox 19+ */
color: red;
}
:-ms-input-placeholder {
color: red;
}
链接地址: http://www.djcxy.com/p/12158.html
上一篇: 如何为输入占位符和值设置不同的字体?
下一篇: 用于占位符html的CSS颜色