Styling HTML placeholder text

Placeholder text styles

Posted on July 8, 2014

This is something I’m asked regularly. Here’s how to change the style of your HTML input placeholder text:

::-webkit-input-placeholder {
	color:#e3e3e3;
}
:-moz-placeholder {
	color:#e3e3e3;
}
::-moz-placeholder {
	color:#e3e3e3;
}
:-ms-input-placeholder {
	color:#e3e3e3;
}