/* WebKit browsers */
input::-webkit-input-placeholder {
color: red;
font-size: 14px;
}
/* Mozilla Firefox 4 to 18 */
input:-moz-placeholder {
color:red;
opacity: 1;
font-size: 14px;
}
/* Mozilla Firefox 19+ */
input::-moz-placeholder {
color: red;
opacity: 1;
font-size: 14px;
}
/* Internet Explorer 10+ */
input:-ms-input-placeholder {
color:red;
font-size: 14px;
}
网友评论