Box-shadow outside of overflow area - HTML CSS CSS Property

HTML CSS examples for CSS Property:box-shadow

Description

Box-shadow outside of overflow area

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 {<!-- w ww  .ja  v  a  2 s.co  m-->
   top:100px;
   left:100px;
   height:51px;
   width:201px;
   -webkit-box-shadow:6px 6px 6px Chartreuse,
   inset 0 0 6px yellow;
   border-radius:6px;
   background:white;
}

.row
 {
   top:100px;
   float:right;
   left:100px;
   height:51px;
   width:201px;
   -webkit-box-shadow:6px 6px 6px blue,
   inset 0 0 6px pink;
   border-radius:6px;
   background:white;
}
</style> 
 </head> 
 <body> 
  <div class="row"> 
  </div> 
  <div> 
  </div>  
 </body>
</html>

Related Tutorials