JSFiddle - React, Tailwind, and code Playground

by Jack Moore

HTML

<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-social/4.2.1/bootstrap-social.css">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<header>
		<div class="container-fluid">
			<div class="row" style="background-color: lightblue;">
				<div class="col-md-8 col-sm-8 col-xs-1">
					<div id="banner" style="margin-left: 59%;">
						<img height="25px" width="25px"
							src="https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcRROdI3yg-dOO1Wl56Ci6AHheWnzUA6j01oJDvxaUNViODWLpLX" />
						<img height="40px;" width="253px;"
							src="http://staticx.ibncollege.com/wcsstore/ExtendedSitesCatalogAssetStore/907_90722_1_21939/images/FULLIMAGE_88753.jpg" />

					</div>
				</div>
				<div class="col-md-2">
					<div id="images" style="float: right;">
						<a class="btn btn-social-icon btn-sm btn-facebook"
							style="text-align: center;" href="#"> <i
							class="fa fa-facebook"></i>
						</a> <a class="btn btn-social-icon btn-sm btn-twitter" href="#"> <i
							class="fa fa-twitter"></i>
						</a> <a class="btn btn-social-icon btn-sm btn-google-plus" href="#">
							<i class="fa fa-google-plus"></i>
						</a>
					</div>
				</div>

				<div class="container">
					<div class="row">

						<div class="col-md-12 col-sm-12 col-xs-12 search-container">

							<form id="searchbox" role="form" action="#" method="GET">
								<div class="col-md-4 col-sm-12 col-xs-12 searchbox">
									<div class="ui-widget">
										<input id="Name" name="name" class="form-control searchinput"
											type="text" placeholder="name" value="">
									</div>
								</div>
								<div class="col-md-4 col-sm-12 col-xs-12">
									<input id="family" name="family"
										class="form-control...

CSS

.menu {
	position: relative;
	width: 100%;
	height: 66px;
	max-height: 90px;
	background: green;
}

.menu img {
	max-height: 30px;
}

.menu ul {
	left: 0;
	margin: 0 auto;
	width: 80%;
	margin: -30px auto 0 auto;
	font-size: 16px;
	font-weight: bold;
	max-width: 1200px;
}

.menu ul li:first-child {
	border-left: 1px solid gray;
}

.menu ul li { //
	width: 140px;
	width: 14%;
	display: block;
	float: left;
	text-align: center;
	border-right: 1px solid gray;
	color: white;
	height: 50px;
	line-height: 70px;
	vertical-align: bottom;
}

.menu ul li a {
	color: white;
}

.menubtn {
	width: 30px;
	height: 30px; //
	opacity: 0.5;
	cursor: pointer;
}

.menubtn .fa {
	font-size: 26px;
	color: rgb(75, 0, 130)
}

#menubtn {
	position: absolute;
	top: 2px;
	left: 4px;
}

@media only screen and (min-width: 501px) {
	.topbar {
		display: none;
	}
	.menu ul li a {
		font-size: 14px;
	}
	#mybody {
		margin-top: 8%;
	}
}

@media only screen and (max-width: 1200px) {
	.menu ul li a {
		font-size: 12px;
	}
}

@media only screen and (max-width: 888px) {
	.menu ul li a {
		font-size: 12px;
	}
}

@media only screen and (max-width: 685px) {
	.menu {
		height: 40px;
	}
	.menu ul {
		margin: 0;
	}
	.menu img {
		display: none
	}
	.menu ul {
		width: 100%;
	}
	.menu ul li {
		line-height: 40px;
		height: 40px;
		font-size: 13px;
	}
}

@media ( max-height : 480px) and (min-width: 480px) and (max-width:
	600px) {
	.menu {
		display: none;
	}
}

@media only screen and (min-width : 320px) and (max-width : 480px) and
	(orientation : landscape) {
	.menu {
		display: none;
	}
}