Skip to content

Instantly share code, notes, and snippets.

@Obooman
Created June 28, 2016 05:44
Show Gist options
  • Save Obooman/d3137a1123307d3b16181fa8f490f3a2 to your computer and use it in GitHub Desktop.
Save Obooman/d3137a1123307d3b16181fa8f490f3a2 to your computer and use it in GitHub Desktop.
placeholder selector
::-webkit-input-placeholder {
color: red;
/* font-size text-decoration etc. */
}
:-moz-placeholder { /* Firefox 18- */
color: red;
}
::-moz-placeholder { /* Firefox 19+ */
color: red;
}
:-ms-input-placeholder {
color: red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment