Set CSS3 box-shadow on top of div - HTML CSS CSS Property

HTML CSS examples for CSS Property:box-shadow

Description

Set CSS3 box-shadow on top of div

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
div {<!--from   w  w w .ja  v  a 2  s .  c o m-->
   width:151px;
   height:151px;
   box-shadow:-6px 6px 4px black, 6px 6px 4px black;
}
</style> 
 </head> 
 <body> 
  <div></div>  
 </body>
</html>

Related Tutorials