HTML CSS examples for CSS Property:box-shadow
One div above shadow from another div
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .navbar {<!--from w w w .j a v a2 s . c o m--> background-color:Chartreuse; -webkit-box-shadow:0px 3px 17px 3px yellow; -moz-box-shadow:0px 3px 17px 3px blue; box-shadow:0px 3px 17px 3px pink; position:relative; } .body { background-color:OrangeRed; } </style> </head> <body> <div class="container"> <div class="navbar"> Lorem ip </div> <div class="body"> Lorem </div> </div> </body> </html>