JSFiddle - React, Tailwind, and code Playground
by sammy
HTML
<div class='container'>
<div class='inner'>
<table>
<tr>
<td class='logo'>
<img src="http://friendora.com/images/header/brand.32.png" height='24'/>
</td>
<td class='search'>
<div class='box'>
<input/>
</div>
</td>
<td class='icons'>
<div class='box'>
<img/>
</div>
</td>
</tr>
</table>
</div>
</div>
CSS
.container {
position: fixed;
top: 0px;
left: 0;
right: 0;
height: 58px;
border-bottom: 1px solid #ddd;
}
.inner {
max-width: 900px;
margin: 0px auto;
}
table {
height: 58px;
width: 100%;
table-layout: fixed;
border-collapse: collapse;
}
.logo {
width: 124px;
}
.logo img {
height: 16px;
}
.search {
width: 50%;
padding: 0 6px;
}
.search input {
width: 100%;
box-sizing: border-box;
margin: 0px;
padding: 6px;
border: 1px solid #ddd;
}
.icons {
background: skyblue;
width: 50%;
}