Created
April 15, 2015 22:10
-
-
Save leepettijohn/5f40f0656df13d791a70 to your computer and use it in GitHub Desktop.
Placeholder text disappear
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
/* *** Chrome and Safari */ | |
[placeholder]:focus::-webkit-input-placeholder { | |
transition: opacity 0.5s 0.5s ease; | |
opacity: 0; | |
} | |
/* *** Firefox */ | |
[placeholder]:focus::-moz-placeholder { | |
opacity: 0; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment