Pop up over hover in a web page - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Hover

Description

Pop up over hover in a web page

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">
div {<!--from w  ww.  ja v  a  2 s  . c  o m-->
   position:absolute;
   background:Chartreuse;
   padding:5px;
   width:201px;
   display:none;
}

a:hover + div, div:hover {
   display:block
}
</style> 
 </head> 
 <body> 
  <a href="#">Lorem ipsum do</a> 
  <div>
    Lorem ipsum dolor sit amet, consectetur adipiscing el 
   <select> <option>Lore</option> <option>Lorem ipsum d</option> <option>Lorem ipsum </option> </select> 
  </div>  
 </body>
</html>

Related Tutorials