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