Create Transparent Drop Down Navigation Menu with CSS and HTML



                                               

                                                       HTML AND CSS CODE:-

<html>
 <head>
  <style>
  BODY{
 background-image: url(../image/background-blur-clean-531880.jpg);
 padding: 0px;
 margin: 0px;
}
#menu{
 background-color: black;
 opacity: 0.5;
 height: 80px;
 width: 100%;
}
#menu ul{
 text-align: center;
 font-size: 19px;
}
#menu ul li{
 list-style-type: none;
 float: left;
 display: block;
}
#menu ul li a{
 color: white;
 text-decoration: none;
 padding: 30px;
 display: block;
}
#menu ul li a:hover{
 color: red;
 text-decoration: underline;
 background-color: aquamarine;
 border-radius: 10px;
}
#menu ul li ul li{
 display: none;
 width: 100%;
 height: 70px;

}
#menu ul li:hover ul li{
 display: block;
}
  </style>
 </head>
 <body>
  <div id="menu">
   <ul>
    <li><a href="#">HOME</a></li>
    <li><a href="#">ABOUT-US</a>
    <UL>
    
      <li><a href="#">TEAM INFO</a></li>
      <li><a href="#">OUR MISSION</a></li>
    
     </UL></li>
    <li><a href="#">THINGS TO DO</a></li>
    <li><a href="#">CONTACT-US</a></li>
   </ul>
  </div>
 </body>
</html>

Comments

  1. Hi, thank you for sharing this great info. Was just browsing through the net in my office and happened upon your blog. It is really very well written and quit comprehensive in explaining with a very simple language.
    Best Distinctive Sport Logo, $5 Logo Design Service

    ReplyDelete

Post a Comment

Popular posts from this blog

About Web-design

Form html

About CSS