HTML CSS examples for CSS Widget:Image
Change image-border on mouseover
<html> <head> <style> IMG.HoverBorder { border:6px solid Chartreuse; } IMG.HoverBorder:hover { border:6px solid yellow; } </style> <!-- ww w. jav a2 s .c o m--> </head> <body> <img class="HoverBorder" src="https://www.java2s.com/style/demo/Google-Chrome.png"> </body> </html>