HTML CSS examples for CSS Widget:Image Shadow
Box shadow for image
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> div.image {<!--from w w w. j a v a 2 s. co m--> margin:21px auto; -moz-box-shadow:0 0 5px Chartreuse; -ms-box-shadow:0 0 5px yellow; -o-box-shadow:0 0 5px blue; -webkit-box-shadow:0 0 5px pink; box-shadow:0 0 5px OrangeRed; padding:3px; width:121px; height:121px; } </style> </head> <body> <div class="image"> <img width="120" height="120" src="https://www.java2s.com/style/demo/Google-Chrome.png" title="title" alt="alt"> </div> </body> </html>