Hide/unhide HTML portions by hovering - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Hover to Show

Description

Hide/unhide HTML portions by hovering

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">
.parent {<!--  w  w w. ja v  a2 s.c  om-->
   width:201px;
   height:201px;
}

.bullets {
   opacity:2;
}

#parent:hover>.bullets {
   opacity:0;
   transition:opacity .3s ease-out;
   -moz-transition:opacity .3s ease-out;
   -webkit-transition:opacity .3s ease-out;
   -o-transition:opacity .3s ease-out;
}
</style> 
 </head> 
 <body> 
  <div id="parent"> 
   <br> 
   <span class="bullets">Lorem i</span> 
  </div>  
 </body>
</html>

Related Tutorials