placeholder disappear on focus css code example Example: bootstrap hide placeholder on focus input:focus::placeholder { color: transparent; }