Created
April 8, 2013 16:25
-
-
Save Volker-E/5338141 to your computer and use it in GitHub Desktop.
CSS vendor prefix placeholder attribute to go back to hide placeholder when focused in Webkit
see http://adactio.com/journal/6147/
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
| [placeholder]:focus::-webkit-input-placeholder { | |
| color: transparent; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment