JSFiddle - React, Tailwind, and code Playground
HTML
<form action="#" method="#">
<input type="text">
<button type="search"> <i class="fa fa-search"></i></button>
</form>
CSS
form {
border: 1px solid #d1d1d1;
width: 230px;
height: 24px;
border-radius: 3px;
margin: 20px;
padding: 0 5px;
}
input {
height: 22px;
width: 202px;
border: none;
margin: 0;
outline: none;
vertical-align: top;
font-size: 12px;
}
button {
width: 24px;
border: none;
background-color: white;
color: #d1d1d1;
cursor: pointer;
margin: 0;
padding: 0;
font-size: 16px;
line-height: 24px;
}
button:hover {
color: #f29700;
}