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