JSFiddle - React, Tailwind, and code Playground
CSS
#searchform {
width: auto;
height: 100px;
position: relative;
margin-left: 20%;
margin-right: 20%;
}
#searchform>input[type="text"] {
left: 0;
width: 66%;
position: absolute;
display: inline-block;
direction: ltr;
border: none;
background: #ffffff;
border-radius: 0px;
font-family: Museo500;
font-size: 18px;
padding: 0 0 0 25px;
height: 56px;
color: #000054;
box-shadow: none;
outline: none;
border-top-left-radius: 100px;
border-bottom-left-radius: 100px;
}
#searchform .srchbtncustom {
font-family: Museo500;
width: 34%;
height: 56px;
padding: 15px 40px;
border-radius: 0px;
background: #e5001c;
color: #FFF;
position: relative;
right: 0;
font-size: 18px;
border: none;
outline: none;
position: absolute;
z-index: 0;
box-shadow: none;
border-bottom-right-radius: 100px;
border-top-right-radius: 100px;
}
.search__wrapper,
#main-header,
.cs-mobile-hide {
display: none;
}
@media (min-width: 1330px) {
.cs-mobile-hide {
display: block;
}
.cs-mobile-show {
display: none;
}
}