给input的placeholder设置颜色

html5,placeholder属性里面文字颜色样式
::-webkit-input-placeholder { color:#999;}
:-moz-placeholder { color:#999;}
::-moz-placeholder {color:#999;}
:-ms-input-placeholder {color:#999;}

发表回复