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