Dropdown transparent Menu CSS - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Menu Dropdown

Description

Dropdown transparent Menu CSS

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">
* {<!-- w ww .  j  av a 2s.  com-->
   font-family:"Segoe UI", Tahoma;
}

ul.nav {
   border-bottom:2px solid Chartreuse;
}

ul.nav li a {
   display:block;
   text-decoration:none;
   color:yellow;
   padding:6px;
   border:2px solid blue;
}

ul.nav>li:hover {
   border:2px solid pink;
   border-bottom:2px solid OrangeRed;
}

ul.nav li a:hover {
   background:grey;
   border:2px solid BlueViolet;
}

ul.nav>li {
   display:inline-block;
   position:relative;
   border:2px solid Chartreuse;
}

ul.nav>li ul {
   display:none;
   position:absolute;
   left:-2px;
   width:151px;
   border:2px solid yellow;
   border-top-color:blue;
   margin-top:2px;
}

ul.nav>li:hover ul {
   display:block;
}

ul.nav>li ul li {
   display:block;
}
</style> 
 </head> 
 <body> 
  <ul class="nav"> 
   <li> <a href="#">Lorem </a> 
    <ul> 
     <li> <a href="#">Lorem ipsum d</a> </li> 
     <li> <a href="#">Lorem ipsum d</a> </li> 
     <li> <a href="#">Lorem ipsum d</a> </li> 
    </ul> </li> 
   <li> <a href="#">Lorem </a> 
    <ul> 
     <li> <a href="#">Lorem ipsum d</a> </li> 
     <li> <a href="#">Lorem ipsum d</a> </li> 
     <li> <a href="#">Lorem ipsum d</a> </li> 
    </ul> </li> 
   <li> <a href="#">Lorem </a> 
    <ul> 
     <li> <a href="#">Lorem ipsum d</a> </li> 
     <li> <a href="#">Lorem ipsum d</a> </li> 
     <li> <a href="#">Lorem ipsum d</a> </li> 
    </ul> </li> 
  </ul> 
  <script type="text/javascript">

      </script>  
 </body>
</html>

Related Tutorials