Display div on hovering anchor tag - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Hover

Description

Display div on hovering anchor tag

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">
.hiddendiv {<!-- w  w w  . jav  a 2  s.  c o m-->
   display:none;
}

.linkStyle:hover>.hiddendiv {
   display:block;
}
</style> 
 </head> 
 <body> 
  <a href="#" class="linkStyle"> 
   <div>
     Lorem 
   </div> 
   <div class="hiddendiv">
     Lorem ipsum dolor sit ame 
   </div> </a>  
 </body>
</html>

Related Tutorials