Define input fields' placeholder color in most browsers. The declaration with the different vendor prefixes has to be done separately. Otherwise they will not work.
:-webkit-input-placeholder { /* Chrome/Opera/Safari */
color: #777;
}
::-moz-placeholder { /* Firefox 19+ */
color: #777;
}
:-ms-input-placeholder { /* IE 10+ */
color: #777;
}
:-moz-placeholder { /* Firefox 18- */
color: #777;
}
/*
This will not work:
::-webkit-input-placeholder,
::-moz-placeholder,
:-ms-input-placeholder,
:-moz-placeholder {
color: #777;
}
*/