用于占位符html的CSS颜色
这个问题在这里已经有了答案:
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/12157.html
上一篇: CSS color for placeholder html
下一篇: How to style placeholder attribute across all browsers?