JSFiddle - React, Tailwind, and code Playground

HTML

<div id="SearchContainer">
		        		
		<div id="sb-search" class="sb-search">
					    
            <form>
					        <input class="sb-search-input" placeholder="Enter your search term..." type="search" value="" name="search" id="search">
					        <input class="sb-search-submit" type="submit" value="">
					        <span class="sb-icon-search"></span>
					    
           </form>
		
       </div>		
		            				
</div>

CSS

#SearchContainer {

	width: 220px;
	
	float: right;
	
	vertical-align: middle;
	
	height: 30px;
	
	margin-top: 25px;

}

.sb-search {
	
	position: relative;
	
	margin-top: 0px;
	
	width: 215px;
	
	vertical-align: middle;
	
	border-right: 1px solid #2c2c2c;
	
	height: 30px;
	
	float: right;
	
	overflow: hidden;
	
	margin-right: 0px;
	
	border-top-left-radius: 5px;
	
	border-bottom-left-radius: 5px;
	
	border-top-right-radius: 5px;
	
	border-bottom-right-radius: 5px;
	
	background-color: black;

}

.sb-search-input {

	text-indent: 10px;
	
	position: absolute;
	
	top: 0;
	
	left: 0;
	
	border-left: 1px solid #2c2c2c;
	
	border-top: 1px solid #2c2c2c;
	
	border-bottom: 1px solid #2c2c2c;
	
	border-right: 1px solid black;
	
	border-top-left-radius: 5px;
	
	border-bottom-left-radius: 5px;
	
	border-top-right-radius: 5px;
	
	border-bottom-right-radius: 5px;
	
	outline: none;
	
	background: black;
	
	width: 200px;
	
	height: 30px;
	
	margin: 0;
	
	z-index: 10;
	
	font-family: arial;
	
	font-size: 14px;
	
	color: #c8c8c8;
	

}

.sb-search-input:hover {

	background-color: #151515;

}

.sb-search-input::-webkit-input-placeholder {
	
	color: gray;

}

.sb-search-input:-moz-placeholder {
	
	color: gray;

}

.sb-search-input::-moz-placeholder {
	
	color: gray;

}

.sb-search-input:-ms-input-placeholder {
	
	color: gray;

}

.sb-icon-search,
.sb-search-submit  {
	
	width: 30px;
	
	height: 29px;
	
	border-right: 1px solid #2c2c2c;
	
	border-top: 1px solid #2c2c2c;
	
	border-bottom: 1px solid #2c2c2c;
	
	border-top-right-radius: 5px;
	
	border-bottom-right-radius: 5px;
	
	display: block;
	
	position: absolute;
	
	right: 0;
	
	top: 0;
	
	padding: 0;
	
	margin: 0;
	
	line-height: 28px;
	
	text-align: center;
	
	cursor: pointer;
	
}

.sb-search-submit {
	
	background: black; /* IE needs this */
	
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* IE 8 */
    
	filter: alpha(opacity=0); /* IE 5-7 */
    
	opacity: 0;
	
	color: transparent;
	
	border:...