Hover on span to show List - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Hover to Show

Description

Hover on span to show List

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">
#onHover ul {<!--from www  .  java2s  . c o m-->
   display:none;
}

#onHover:hover ul {
   display:block;
}
</style> 
 </head> 
 <body> 
  <div id="onHover">
    Lor 
   <ul> 
    <li>Lorem</li> 
    <li>Lorem i</li> 
   </ul> 
  </div>  
 </body>
</html>

Related Tutorials