Tag Archives: Place Holder text color change

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