Created
November 23, 2014 22:24
-
-
Save chanified/3990fd8966a4a2c1569e to your computer and use it in GitHub Desktop.
CSS Placeholder Text (cross-browser)
This file contains hidden or 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
::-webkit-input-placeholder { /* WebKit browsers */ | |
color: #f80; | |
} | |
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ | |
color: #f80; | |
opacity: 1; | |
} | |
::-moz-placeholder { /* Mozilla Firefox 19+ */ | |
color: #f80; | |
opacity: 1; | |
} | |
:-ms-input-placeholder { /* Internet Explorer 10+ */ | |
color: #f80; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment