Change HTML5 placeholder text color
The placeholder attribute specifies a hint that describes the expected value of an input field. The placeholder attribute works with the following input types: text search url tel email password By default placeholder text color is light gray color. http://blog.nitishkumarsingh.com/how-to-change-html5-placeholder-text-color/
by Nitish Kumar
HTML
<input type="text" placeholder="Enter Text Here"/>
CSS
/* For all Browser */
::-webkit-input-placeholder { color: blue; }
/* For Chorme and Safari */
::-webkit-input-placeholder {
color: blue;
}
/* Mozilla Firefox 4 – 18 */
:-moz-placeholder {
color: blue;
opacity: 1;
}
/* Mozilla Firefox 19+ */
::-moz-placeholder {
color: blue;
opacity: 1;
}
/* Internet Explorer 10+ */
:-ms-input-placeholder {
color: blue;
}