input placeholder on focus code example Example: placeholder gone when active input:focus::placeholder { color: transparent; }