CSS Box Shadow Bottom Only - HTML CSS CSS Property

HTML CSS examples for CSS Property:box-shadow

Description

CSS Box Shadow Bottom Only

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">
#outer {<!-- w  ww. j  a  v a 2  s  .  c o m-->
   width:100px;
   overflow:hidden;
   padding-bottom:11px;
}

#outer>div {
   width:100px;
   height:100px;
   background:orange;
   -moz-box-shadow:0 5px 5px Chartreuse;
   -webkit-box-shadow:0 5px 5px yellow;
   box-shadow:0 5px 5px blue;
}
</style> 
 </head> 
 <body> 
  <div id="outer"> 
   <div></div> 
  </div>  
 </body>
</html>

Related Tutorials