JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div class="wrapper">
<ul>
<li><a href="#"><img src="images/home.png" class="home"></a></li>
<li><a href="#">About</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Contact</a></li>
<li><input type="text" placeholder="Search"></li>
</ul>
</div>
</body>
</html>
CSS
.wrapper {
width: 650px;
height: 40px;
background: linear-gradient(to top, #2E2E2E, #424242);
border-radius: 5px 5px 5px 5px;
}
ul {
list-style: none;
}
a {
text-decoration: none;
font-family: Arial;
float: left;
padding-right: 60px;
margin-right: 10px
border-right: 1px solid;
color: white;
}
a:hover {
background: white;
color: #1C1C1C;
}
.home {
width: 25px;
}
input {
border-radius: 10px;
margin-top: 9px;
}
input:after {
background: url(images/zoom.png);
}