Adding a glow to 3 sides using CSS - HTML CSS CSS Property

HTML CSS examples for CSS Property:box-shadow

Description

Adding a glow to 3 sides using CSS

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  w  w .j a  va 2  s  .c  o  m-->
   width:100px;
   height:31px;
   -moz-box-shadow:0 -2px 16px Chartreuse;
   -webkit-box-shadow:0 -2px 16px yellow;
   box-shadow:0 -2px 16px blue;
   margin:31px;
   clip:rect(-16px,116px,46px,0);
   position:absolute;
}
</style> 
 </head> 
 <body> 
  <div>
    Hello 
  </div>  
 </body>
</html>

Related Tutorials