HTML CSS examples for CSS Property:box-shadow
Z-index "stacking" in creating a shadow
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .parent {<!-- ww w . j av a2 s . c om--> background:white; z-index:3; height:201px; box-shadow:0px 6px 6px 0px Chartreuse; } </style> </head> <body> <div class="parent"> <div class="shadow"> Lorem ipsum do </div> </div> </body> </html>