Skip to content

Instantly share code, notes, and snippets.

@hwshim0810
Last active April 6, 2017 13:20
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save hwshim0810/df18ca2de3323ebc7ae546d777280b83 to your computer and use it in GitHub Desktop.
if focusing input tag, hide placeholder
//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