Last active
April 6, 2017 13:20
-
-
Save hwshim0810/df18ca2de3323ebc7ae546d777280b83 to your computer and use it in GitHub Desktop.
if focusing input tag, hide placeholder
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 속성을 수정함 | |
input:focus::-webkit-input-placeholder, | |
textarea:focus::-webkit-input-placeholder { /* WebKit browsers */ | |
color:transparent; | |
} | |
input:focus:-ms-input-placeholder, | |
textarea:focus:-ms-input-placeholder { /* Internet Explorer 10+ */ | |
color:transparent; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment