Style the Placeholder

Style the placeholder text of a form element:

CSS:

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
color: #839bb3;
font-size:13px;
}

::-moz-placeholder { /* Firefox 19+ */
 color: #839bb3;
 font-size:13px;
}

:-ms-input-placeholder { /* IE 10+ */
 color: #839bb3;
 font-size:13px;
}

:-moz-placeholder { /* Firefox 18- */
color: #839bb3;
font-size:13px;
}

Comments