<div class="form"> <input class="input" placeholder="Type your text" required="" type="text"> <span class="input-border"></span> </div>
.form { --width-of-input: 200px; --border-height: 1px; --border-before-color: rgba(221, 221, 221, 0.39); --border-after-color: #5891ff; --input-hovered-color: #4985e01f; position: relative; width: var(--width-of-input); } .input { color: #fff;