<header>
<ul class="left-breadcrumb">
<li>Home</li>
<li>/</li>
<li>Career</li>
<li>/</li>
<li>Terms</li>
<li>/</li>
<li>Privacy</li>
</ul>
<ul class="right-breadcrumb">
<li>Follow us :</li>
<li><img src="images/fb.png" alt=""></li>
<li class="line"></li>
<li><img src="images/twit.png" alt=""></li>
<li class="line"></li>
<li><img src="images/linkn.png" alt=""></li>
<li class="line"></li>
<li><img src="images/instagm.png" alt=""></li>
</ul>
</header>
<section>
<ul class="left-section">
<li><img class="prog" src="images/programming.png" alt="" /></li>
<li class="pp">DGcom</li>
</ul>
<ul class="right-section">
<li class="open">
<div class="icon">
<img src="images/clk.png" alt="" />
</div>
<p class="pp1">Opening Hour</p>
<p class="pp2">Mon - Fri , 8:00 - 9:00</p>
</li>
</ul>
<ul class="right-section" style="padding-left: 7%;">
<li class="open">
<div class="icon flip">
<img src="images/ph.png" alt="">
</div>
<p class="pp1">Call Us</p>
<p class="pp2">+012 345 6789</p>
</li>
</ul>
<ul class="right-section" style="padding-left: 4%;">
<li class="open">
<div class="icon">
<img src="images/eml.png" alt="">
</div>
<p class="pp1">Email Us</p>
<p class="pp2">info@example.com</p>
</li>
</ul>
</section>
<nav>
<ul class="leftnav">
<li>Home</li>
<li class="menu">About Us</li>
<li class="menu">Services</li>
<li class="menu">Projects</li>
<li class="menu">Pages</li>
<li><i class="arrow down opt"></i></li>
<li class="menu">Contact Us</li>
</ul>
<ul class="rightnav">
<li class="button">Pro Version</li>
</ul>
</nav>
*{
margin: 0;
}
header{
background-color: #f7f7f7;
width: 100%;
height: 31px;
overflow: hidden;
margin-top: -1px;
}
header ul{
height: 41px;
margin-top: 0px;
}
header ul li{
display:inline-block;
text-decoration: none;
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
height: 15px;
font-size: 15px;
padding :4px;
margin: 0;
color: #555;
margin-bottom: -11px;
}
.left-breadcrumb{
float: left;
width: 40%;
}
.right-breadcrumb{
float: right;
width: 40%;
text-align:right;
margin-right: 74px;
}
.line{
border-right: 1px solid #ccc;
margin-left: -18px;
padding: 8px;
}
.right-breadcrumb img{
height: 13px;
}
p {
padding: 0;
margin: 0;
}
section {
margin-top: 0px;
display: flex;
align-items: center;
width: 100%;
overflow: hidden;
background-color: #ffffff;
height: auto;
}
section ul li {
display: inline-block;
}
.left-section {
width: 40%;
}
.right-section {
width: fit-content;
height: min-content;
}
.open {
display: grid;
flex-wrap: wrap;
}
.pp {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
font-weight: 700;
color: #3b6cff;
font-size: 38px;
padding: 15px;
margin-bottom: 11px;
}
.icon {
width: 50px;
height: 50px;
border-radius: 50%;
font-size: 12px;
background: #fff;
line-height: 1.7em;
border: 1px solid #ccc;
margin-right: 10px;
grid-column: 1;
grid-row: 1/3;
display: flex;
justify-content: center;
align-items: center;
}
div img {
width: 22px;
height: auto;
}
.pp1 {
color: #555;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
height: fit-content;
grid-column: 2;
font-weight: 500;
}
.pp2 {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
height: fit-content;
grid-column: 2;
font-weight: 600;
}
.prog{
height: 50px;
margin-bottom: -12px;
}
.flip{
transform: scaleX(-1);
}
nav{
background-color: #0094ff;
overflow: hidden;
width: 100%;
height: 70px;
}
nav ul li{
display: inline-block;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.leftnav{
float: left;
width: 46%;
margin-top: 23px;
}
.rightnav{
float: right;
width: 46%;
margin-top: 23px;
}
.menu{
color:white;
font-weight: 500;
margin-left: 30px;
}
.opt{
margin-left: 7px;
margin-bottom: 2px;
}
.arrow {
border: solid rgb(255, 255, 255);
border-width: 0 3px 3px 0;
display: inline-block;
padding: 3px;
}
.down {
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
}
.button{
background-color: white;
border: none;
color: black;
padding: 8px 20px;
text-align: center;
text-decoration: none;
/*display: inline-block;*/
margin: -9px 65px;
cursor: pointer;
border-radius: 16px;
float: right;
}
.left-bar{
float:left;
width: 40%;
}
.right-bar{
float: right;
width: 60%;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.