autohide place holder

by default the placeholder does not disappear when the field is on focus, until you start typing. Here’s how you can change this, if you need so:
input:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; }

评论

热门博文