JSFiddle - React, Tailwind, and code Playground
HTML
<div class="search">
<form action="<?php echo home_url(); ?>" name="SearchForm" method="get">
<input type="text" name="s" maxlength="64" id="SearchForm" value="Search" />
</form>
<div class="srch_btn" onclick="SearchForm.submit()">GO!</div></div>
CSS
#search { float: right; margin-top: 9px; width: 250px;}
.search { padding: 5px 0;width:230px; height:30px; position: relative; left: 10px;float:left;line-height: 22px;}
.search input { position:absolute;
width:80px;
float:Left;
margin-left:130px;
-webkit-transition: all 1s ease-in-out;
-moz-transition: all 1s ease-in-out;
-o-transition: all 1s ease-in-out;
transition: all 1s ease-in-out;
background: #000; height:30px; line-height: 18px; font-style: italic; padding:0 2px 0 2px; font-family: arial; font-size: 15px;color: #fff; outline: none; -webkit-appearance: none; border-radius: 0; border-width:0; }
.search input:hover , .search input:focus { width: 200px; margin-left: 0px; }
.search input:focus { background: #000; color: #999; }
.srch_btn{ font-family: arial; height:30px; width:30px; background: #ff0000 url(images/mag_glass.png) no-repeat center center;position: absolute;right:0;top:5px; cursor: url(images/cursor2.png) 5 5, auto;}