Hover to enlarge - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Hover

Description

Hover to enlarge

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">
.sten {<!--from   w  w  w  .  jav  a2s  .  c  o m-->
   display:none;
}

#hover {
   opacity:0;
}

#hover:hover + .sten {
   display:block;
}
</style> 
 </head> 
 <body> 
  <div class="per"> 
   <label for="hover"> <a>Lorem ipsum do</a> </label> 
  </div> 
  <input id="hover" type="checkbox" checked> 
  <div class="sten">
    Lorem ipsum dolor sit 
  </div>  
 </body>
</html>

Related Tutorials