Write a CSS for mouse hover - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Hover

Description

Write a CSS for mouse 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.tab a:hover
 {
   color:Chartreuse;
}
</style> <!--from w w w .  j  av a 2 s  .  co  m-->
 </head> 
 <body> 
  <ul class="nav"> 
   <li class="divide">&nbsp;</li> 
   <li class="tab"> <a href="a.php">Lorem ips</a> </li> 
   <li class="divide">&nbsp;</li> 
   <li class="tab"> <a href="a.php">Lorem ips</a> </li> 
  </ul>  
 </body>
</html>

Related Tutorials