JSFiddle - React, Tailwind, and code Playground

by lspanec

HTML

<div id="search">
      <form>
        <input type="search" placeholder="Search" > 
        <input type="submit" value="GO">
      </form>
    </div>

CSS

form {
	width: 200px; /* Ширина поля с кнопкой */
	float: left;
	margin-left: 760px;
	height: 32px;
	padding: 0;
	display: block;
	outline: 0 none;
}
input[type="search"] {
	vertical-align: middle; /* Выравнивание по середине */
	float: left;
	font-family: 'Tahoma', regular;
	font-size: 12px;
	-moz-appearance: none;
	padding: 0;
	bottom: 0;
	outline: 0 none;
	background: none repeat scroll 0 0  #F3F3F3;
	border-image: none;
	border-style: none;
	border-width: 0;
	display: block;
	line-height: 28px;
	position:relative;
	width:158px;
	height: 32px;
	text-indent: 10px;
}
input[type="submit"] {
	width: 42px; /* Ширина кнопки */
	height: 32px; /* Высота кнопки */
	border: none;
	background-color: #29C5E6;
	color: #FFF;
	position: relative;
	float: right;
	font-family: 'Oswald', regular, light;
	font-size: 14px;
	font-weight: normal;
	margin-left:;
	padding: 0;
	border-color: outline: none; /* Убираем свечение в Chrome и Safari */
	-webkit-appearance: none; /* Убираем рамку в Chrome и Safari */
	z-index: 1;
	text-align:center;