HTML CSS examples for CSS Widget:Hover
Override hover style of a div in an anchor tag
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> a.fill_a { text-decoration:none;<!-- w w w .jav a 2s. com--> } a.fill_a:hover>div { background-color:Chartreuse; color:yellow; } </style> </head> <body> <a href="#" class="fill_a"> <div style="width:100px; height:100px; background-color:#ddd" class="fill_div"> Lorem </div> </a> </body> </html>