Last active
April 6, 2017 13:20
Star
You must be signed in to star a gist
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