hide a class on li hover - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Hover to Show

Description

hide a class on li hover

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">
li:hover .span-line {
   display:none;
}
</style> <!--  w  w  w  .j  a va2  s  . c  om-->
 </head> 
 <body> 
  <li> <span class="span-line">Lorem ipsum </span> <a href="{node_url}"> <span class="glyphicon glyphicon-home"></span>Lorem i</a> </li>  
 </body>
</html>

Related Tutorials