Created
October 7, 2015 02:31
-
-
Save webinista/e77eb1e4a7a8fcf1bc9b to your computer and use it in GitHub Desktop.
Faux placeholder clearing with CSS
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
:focus::-webkit-input-placeholder{ | |
color: transparent; | |
} | |
:focus::-moz-placeholder { | |
color: transparent; | |
} | |
:focus:-ms-input-placeholder { | |
color: transparent; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment