<div class="textInputWrapper"> <input placeholder="Type Here" type="text" class="textInput"> </div>
.textInputWrapper { position: relative; width: 180px; margin: 12px 5px; --accent-color: #a3e583; } .textInputWrapper:before { transition: border-bottom-color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; border-bottom: 1px solid rgba(0, 0, 0, 0.42); }