Last active
December 4, 2015 08:52
-
-
Save ariona/5768e9884a4c9dbe4e7e to your computer and use it in GitHub Desktop.
Styling the 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
/* | |
* If you want to style specific Input, prepend the input selector like: | |
* | |
* .control::-webkit-input-placeholder{ ... } | |
* | |
*/ | |
::-webkit-input-placeholder { | |
color: red; | |
} | |
:-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