JSFiddle - React, Tailwind, and code Playground
by mount
HTML
<div class="header">
<div class="ribbon">
<a href="#">BETA</a>
</div> <!--end of robbon div -->
<div class="logo" class="unselectable">
<img src="image/DZB.png" style="width:220px;height:120px" alt="logo">
</div> <!--end of logo div -->
<div class="login">
<button name="login" class="add">Login</button><button name="Enquiry" class="upload">Enquiry</button>
</div> <!--end of login div -->
</div> <!-- end of header div -->
<div class="topmenu">
</div> <!--end of top menu div -->
CSS
.logo{
background-image: url('image/DZB.png');
margin: 0px 0;
padding: 15px 0px 0px 130px;
cursor: pointer;
float:left;
}
.header
{
position:relative;
width:100%;
height:150px;
background: #1e5799; /* Old browsers */
background: -moz-linear-gradient(left, #1e5799 0%, #2989d8 40%, #1e5799 100%, #7db9e8 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#1e5799), color-stop(40%,#2989d8), color-stop(100%,#1e5799), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, #1e5799 0%,#2989d8 40%,#1e5799 100%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, #1e5799 0%,#2989d8 40%,#1e5799 100%,#7db9e8 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left, #1e5799 0%,#2989d8 40%,#1e5799 100%,#7db9e8 100%); /* IE10+ */
background: linear-gradient(to right, #1e5799 0%,#2989d8 40%,#1e5799 100%,#7db9e8 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=1 ); /* IE6-9 */
}
.login {
margin:0;
padding:0px 0px 0 0;
float:right;
width:40%;
}
.add,.upload{
position:absolute;
bottom:0;
float:right;
}