Skip to content

Instantly share code, notes, and snippets.

@jonbellah
Created May 22, 2014 13:01
Show Gist options
  • Save jonbellah/709e9bc49eef9ba00e75 to your computer and use it in GitHub Desktop.
Save jonbellah/709e9bc49eef9ba00e75 to your computer and use it in GitHub Desktop.
Style input placeholder
::-webkit-input-placeholder { /* WebKit browsers */
color: #3498db;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: #3498db;
opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
color: #3498db;
opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
color: #3498db;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment