Multi-Level hovering - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Hover

Description

Multi-Level hovering

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <title>Lorem ipsum dolor sit amet, consecte</title> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
#ipc_cases ul {<!-- w  ww . j  a  v  a  2 s.c  o m-->
   list-style-type:none;
   display:inline-block;
}

#ipc_cases ul li ul {
   display:none;
   background:Chartreuse
}

#ipc_cases li:hover>ul {
   display:block;
}
</style> 
 </head> 
 <body> 
  <div id="ipc_cases"> 
   <ul> 
    <li> <a>Lorem ipsum</a> 
     <ul> 
      <li>Lorem 
       <ul> 
        <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi 
         <ul> 
          <li>Lorem ipsum dolor </li> 
         </ul> </li> 
        <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ul 
         <ul> 
          <li>Lorem ipsum dolor si</li> 
         </ul> </li> 
        <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ull 
         <ul> 
          <li>Lorem ipsum dolor sit</li> 
         </ul> </li> 
        <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ullam 
         <ul> 
          <li>Lorem ipsum dolor sit a</li> 
         </ul> </li> 
       </ul> </li> 
      <li>Lorem ip 
       <ul> 
        <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi u 
         <ul> 
          <li>Lorem ipsum dolor</li> 
         </ul> </li> 
        <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ull 
         <ul> 
          <li>Lorem ipsum dolor s</li> 
         </ul> </li> 
        <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ulla 
         <ul> 
          <li>Lorem ipsum dolor si</li> 
         </ul> </li> 
        <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ullamc 
         <ul> 
          <li>Lorem ipsum dolor sit </li> 
         </ul> </li> 
       </ul> </li> 
     </ul> </li> 
   </ul> 
  </div>  
 </body>
</html>

Related Tutorials