HTML CSS examples for CSS Widget:Image
Apply soft edges to image using CSS
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #image-container {<!-- w w w . j a v a2 s. c om--> background:url('http://www.java2s.com/style/demo/Google-Chrome.png') left top no-repeat; box-shadow:26px 26px 51px 0 white inset, -26px -26px 51px 0 white inset; width:301px; height:301px; } </style> </head> <body> <div id="image-container"> <div> </div> </div> </body> </html>