Skip to content

Instantly share code, notes, and snippets.

@Farmatique
Created September 23, 2016 19:55
Show Gist options
  • Save Farmatique/421c522141ab85cd1c1a5830b4734ec6 to your computer and use it in GitHub Desktop.
Save Farmatique/421c522141ab85cd1c1a5830b4734ec6 to your computer and use it in GitHub Desktop.
Placeholder styling
/* do not group these rules */
*::-webkit-input-placeholder {
color: red;
}
*:-moz-placeholder {
/* FF 4-18 */
color: red;
}
*::-moz-placeholder {
/* FF 19+ */
color: red;
}
*:-ms-input-placeholder {
/* IE 10+ */
color: red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment