HTML CSS examples for CSS Widget:Hover Image
Hover to add shadow to image
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .image:hover {<!-- ww w . j a v a2 s . c om--> border:3px solid Chartreuse; background-color:yellow; box-shadow:4px 4px 6px 7px blue; } </style> </head> <body> <div id="header"> <a href="index.html"> <img src="https://www.java2s.com/style/demo/InternetExplorer.png" class="image"> </a> </div> </body> </html>