HTML CSS examples for CSS Widget:Hover class
Css pseudo-classes active on hover
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .E {<!--from w w w . ja v a 2 s . c om--> width:201px; height:201px; background-color:Chartreuse; } div.E:active { background-color:yellow; } .E:hover { background-color:blue; } </style> </head> <body> <div class="E"> Lorem ip </div> </body> </html>