Change Place Holder Text Color – CSS


If you have place holder text for input boxes on a html form, and if you want to change the color of that place holder text use following coding,

::-webkit-input-placeholder {
 color: #595959 !important;
}
:-moz-placeholder { /* Firefox 18- */
 color: #595959 !important;
}
::-moz-placeholder { /* Firefox 19+ */
 color: #595959 !important;
}
:-ms-input-placeholder { 
 color: #595959 !important;
}
Advertisements

Let me know what you think .. :)

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s