P粉5920854232023-08-02 00:49:28
Remove the displayed "Please fill in this field" prompt.
For the red border, you may consider doing this:
.input-group:hover, .input-group:focus-within { border-block-color: red; box-shadow: 0px 0px 3px 2px red; box-sizing: border-box; display: inline-block; }
<div class="input-group" id="email-input"> <input type="text" id="email" name="email" autocomplete="off" placeholder="Email"> </div>