JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div class="header-links">
<div class="container">
<div class="header-social-btns">
<a href="#" class="header-link social__tw"></a>
</div>
<form>
Search Google:
<input type="search" name="googlesearch">
</form>
</div>
</div>
</body>
</html>
CSS
.container{
max-width: 800px;
margin: 0 auto;
height: 100%;
}
.header-social-btns{
float: right;
}
.header-links{
height: 40px;
}
.header-social-btns{
height: 100%;
}
.social__tw{
background: url('http://igorphp.smoky.kiev.ua/f1/header-social-btns.png') 6px 7px no-repeat;
}
a.social__tw:hover{
background: url('http://igorphp.smoky.kiev.ua/f1/header-social-btns.png') 6px -39px no-repeat;
}
.header-link{
float: left;
width: 40px;
border-right: 1px solid #eeeeef;
border-left: 1px solid #eeeeef;
height: 100%;
-webkit-transition: all ease-out 0.2s;
-moz-transition: all ease-out 0.2s;
-o-transition: all ease-out 0.2s;
-ms-transition: all ease-out 0.2s;
transition: all ease-out 0.2s;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}