The nav bar with Tab style - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Nav Bar

Description

The nav bar with Tab style

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
#nav {<!--from  www .j a  va2  s.c om-->
   margin:auto;
   color:Chartreuse;
   width:78%;
   border-bottom:2px solid yellow;
}

#nav ul {
   margin:auto;
   padding-top:7px;
   padding-bottom:9px;
   padding-left:6px;
   list-style:none;
}

#nav li {
   display:inline;
   width:121px;
   margin:0;
   padding:11px 6px;
   border-radius:11px 11px 0px 0px / 11px 11px 0px 0px;
   background:-webkit-gradient(linear, left top, left bottom, from(blue), to(rgb(133,133,133)));
   background:-moz-linear-gradient(top, pink, rgb(233,233,233));
}

#nav li:last-child {
   border-right:none;
}

#nav a {
   text-decoration:none;
   color:OrangeRed;
   font-weight:bold;
   font-size:21px;
   padding-right:11px;
   padding-left:6px;
}
</style> 
 </head> 
 <body> 
  <div id="nav"> 
   <ul> 
    <li> <a href="index.html">Lore</a> </li> 
    <li> <a href="about me.html">Lorem ip</a> </li> 
    <li> <a href="portfolio.html">Lorem ips</a> </li> 
    <li> <a href="cv.html">Lo</a> </li> 
    <li> <a href="contact.php">Lorem i</a> </li> 
   </ul> 
  </div>  
 </body>
</html>

Related Tutorials