JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text" placeholder="Enter the location of your vehicle" id="location" onchange="locationApproved()" autocomplete="off" class="form-control car-list-input">
<div class="square">
</div>
CSS
.car-list-input {
font-family: 'Source Sans Pro', sans-serif;
border-radius: 3px;
font-size: 14px;
font-weight: 400 !important;
height: 35px;
position: relative;
border-left: 2px solid #e0e6e8;
border-right: 2px solid #e0e6e8;
border-top: 2px solid #e0e6e8;
border-bottom: 0px;
padding-bottom: 50px;
}
.car-list-input:focus {
border-color: #25c16f;
outline: 0;
box-shadow: none;
border-bottom: solid 2px #25c16f;
padding-bottom: 0px;
}
.square {
height: 60px;
width: 60px;
background: red;
margin: 0;
padding: 0;
}