Adding a blurred border in CSS using box-shadow - HTML CSS CSS Property

HTML CSS examples for CSS Property:box-shadow

Description

Adding a blurred border in CSS using box-shadow

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">
#home {<!--   w  w  w  .j a  v  a2 s. co  m-->
   width:100px;
   height:100px;
   margin:201px;
   -webkit-box-shadow:0px 0px 100px 100px Chartreuse;
   -moz-box-shadow:0px 0px 100px 100px yellow;
   box-shadow:0px 0px 100px 100px blue;
}
</style> 
 </head> 
 <body> 
  <div id="home"></div>  
 </body>
</html>

Related Tutorials