hide input field title show when it is filled code example
Example 1: hide input field title show when it is filled
<input class="lolan" type="text" id="name" placeholder="Full Name" required />
<label for="name" class="form__label">Click "Download" To Get Your Card</label>
Example 2: hide input field title show when it is filled
.lolan:placeholder-shown+.form__label {
opacity: 0;
visibility: hidden;
-webkit-transform: translateY(-4rem);
transform: translateY(-4rem);
}