::-webkit-input-placeholder { color: red; }
:-moz-placeholder {/* Firefox 18- */ color: red; }
::-moz-placeholder{/* Firefox 19+ */ color: red; }
:-ms-input-placeholder { color: red; }
修改单个input的placeholder前面加上#myInput或者.myInput
::-webkit-input-placeholder { color: red; }
:-moz-placeholder {/* Firefox 18- */ color: red; }
::-moz-placeholder{/* Firefox 19+ */ color: red; }
:-ms-input-placeholder { color: red; }
修改单个input的placeholder前面加上#myInput或者.myInput