Last active
May 25, 2016 09:16
-
-
Save alxpsr/dfcd1e9d87e0ddbf7d6938a02a145260 to your computer and use it in GitHub Desktop.
::placeholder
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
//mozilla adds opacity to placeholder by default, set opacity for -moz- to 1 | |
::-webkit-input-placeholder { /* Chrome/Opera/Safari */ | |
color: rgba(0,0,0,1); | |
} | |
::-moz-placeholder { /* Firefox 19+ */ | |
color: rgba(0,0,0,1); | |
opacity: 1; | |
} | |
:-ms-input-placeholder { /* IE 10+ */ | |
color: rgba(0,0,0,1); | |
} | |
:-moz-placeholder { /* Firefox 18- */ | |
color: rgba(0,0,0,1); | |
opacity: 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment