HTML CSS examples for CSS Widget:Hover
CSS3 :hover selectors
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> footer {<!-- www.j av a 2 s . c o m--> width:301px; height:41px; border:2px solid Chartreuse; } footer:hover a { background-color:yellow; } footer a:hover { background-color:blue; } </style> </head> <body> <footer> <a href="#">Lorem ipsum dolor s</a> </footer> </body> </html>