HTML CSS examples for CSS Widget:Hover
CSS the :visited :hover
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> li, a { transition:all 1001ms; -webkit-transition:all 1001ms; -moz-transition:all 1001ms; -ms-transition:all 1001ms; -o-transition:all 1001ms; } nav ul li:hover { color:Chartreuse; background-color:yellow; } </style> <!--from w w w . java 2 s . c o m--> </head> <body> <nav> <ul> <li> <a href="#">Lore</a> </li> <li> <a href="#">Lorem</a> </li> <li>Lorem ipsum </li> <ul> <li> <a href="">L</a> </li> <li> <a href="">L</a> </li> <li> <a href="">L</a> </li> <li> <a href="">L</a> </li> </ul> <li> <a href="">Lorem</a> </li> </ul> </nav> </body> </html>