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