Google Translate style select menus - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Menu

Description

Google Translate style select menus

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">
body {<!--from   w  w  w.  ja va  2  s.co m-->
   padding:51px;
}

.sub {
   display:none;
   padding:11px;
   border:2px solid Chartreuse;
   box-shadow:0 0 4px yellow;
}

.root:hover .sub {
   display:block;
}

.sub ul {
   display:inline-block;
   margin:0 11px 0 0;
}
</style> 
 </head> 
 <body> 
  <div class="root"> 
   <div class="selected">
     Lorem ipsum dol 
   </div> 
   <div class="sub"> 
    <ul> 
     <li>Lorem ips</li> 
     <li>Lorem ips</li> 
     <li>Lorem ips</li> 
     <li>Lorem ips</li> 
     <li>Lorem ips</li> 
    </ul> 
    <ul> 
     <li>Lorem ips</li> 
     <li>Lorem ips</li> 
     <li>Lorem ips</li> 
     <li>Lorem ips</li> 
     <li>Lorem ips</li> 
    </ul> 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials