HTML CSS examples for CSS Property:box-shadow
CSS3 Drop Shadow
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .myDiv {<!--from w ww . j ava 2s .c o m--> width:100px; height:100px; background:red; position:relative; } .myDiv:after { content:""; display:block; width:76px; height:100px; margin-left:21px; position:absolute; z-index:-2; -webkit-box-shadow:0px 11px 6px 0px Chartreuse; -moz-box-shadow:0px 11px 6px 0px yellow; box-shadow:0px 11px 6px 0px blue; } </style> </head> <body> <div class="myDiv"></div> </body> </html>