Hover to show list UL item - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Hover to Show

Description

Hover to show list UL item

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">
#menu li {
   width:31px;
   height:31px;
   background:red;
}

#menu li div {
   display:none;
}

#menu li:hover div {
   display:block;
}
</style> <!--from  ww w .j a  v a2 s  .  c  o m-->
 </head> 
 <body> 
  <ul id="menu"> 
   <li> 
    <div>
      Lor 
    </div> </li> 
   <li> 
    <div>
      Lor 
    </div> </li> 
   <li> 
    <div>
      Lor 
    </div> </li> 
   <li> 
    <div>
      Lor 
    </div> </li> 
  </ul>  
 </body>
</html>

Related Tutorials