Created
March 25, 2013 19:02
-
-
Save cmalven/5239680 to your computer and use it in GitHub Desktop.
Sets webkit placeholder text to disappear after a focus delay instead of after typing.
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
[placeholder]:focus::-webkit-input-placeholder { | |
transition: opacity 0.5s 0.5s ease; | |
opacity: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment