HTML CSS examples for CSS Property:box-shadow
make div shadow come over its children
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> div {<!--from w w w .j av a 2s. c o m--> white-space:nowrap; box-shadow:inset 0 0 11px Chartreuse; padding:11px 11px; } img { display:block; } </style> </head> <body> <div> <img src="https://www.java2s.com/style/demo/Safari.png"> </div> </body> </html>