Navigation bar


navigation

Navigation bar.

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>WebSite</title>
    <link rel="stylesheet" type="text/css" href="NavBar.css"/>
    <style type="text/css">
      body{
margin: 0;
padding: 0;
font-family: calibri;
background: #292929;
}
header{
  background: #03A9F4;
  width: 100%;
}
header{
  content: '';
  display: table;
  clear: both;
}
.menu{
  width: 900px;
  margin: 0 auto;
}

.logo{
  width: 30px;
  float: left;
}
nav{
   float: right;
}
nav ul{
  padding: 0;
  margin: 0;
}
nav ul li{
  list-style: none;
  float: left;
  margin-left: 75px;
  padding: 12px 0;
  position: relative;
}
nav ul li a{
  text-decoration: none;
  color: #444;
  font-weight: bold;
}
nav a::before{
  content: '';
  display: block;
  height: 5px;
  width: 0%;
  background-color: #444;
  top: 0;
  position: absolute;
  transition: all ease-in-out 250ms;
}
nav a:hover::before{
  width: 100%;
}


    </style>
  </head>
  <body>
<header>
  <div class="menu">
    <img src="logo.png" alt="logo" class="logo">
    <nav>
      <ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
  </div>
</header>

  </body>
</html>