HTML CSS examples for CSS Widget:Hover to change Color
Add a rounded grey background to an element when the user hovers over it
<html lang="en"> <head> <title>Lorem ipsum dolor si</title> <style> a:hover {<!--from ww w . j a v a2 s .c om--> background-color:Chartreuse; border-radius:14px; padding:11px; } </style> </head> <body translate="no"> <a href="http://somerandomlinks.com">Lorem ipsum dolor</a> </body> </html>