Created
November 15, 2013 02:19
-
-
Save piglovesyou/7478087 to your computer and use it in GitHub Desktop.
Style input[placeholder]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* http://stackoverflow.com/questions/2610497/change-an-inputs-html5-placeholder-color-with-css */ | |
/* http://jsfiddle.net/Sk8erPeter/KyVXK/ */ | |
/* Must define separately */ | |
::-webkit-input-placeholder { | |
color: red; | |
} | |
:-moz-placeholder { | |
color: red; | |
} | |
::-moz-placeholder { | |
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