修改input框里的字体或颜色(带兼容写法)
// An highlighted block
/* WebKit browsers */
input::-webkit-input-placeholder {
color: #0f7fd3;
}
/* Mozilla Firefox 4 to 18 */
input:-moz-placeholder {
color: #0f7fd3;
opacity: 1;
}
/* Mozilla Firefox 19+ */
input::-moz-placeholder {
color: #0f7fd3;
opacity: 1;
}
/* Internet Explorer 10+ */
input:-ms-input-placeholder {
color: #0f7fd3;
font-size: 14px;
}