Change box shadow color - HTML CSS CSS Property

HTML CSS examples for CSS Property:box-shadow

Description

Change box shadow color

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">
.box {<!--from  w w  w. j  ava  2  s. c om-->
   box-shadow:0 0 11px;
   width:100px;
   height:100px;
   margin:11px;
   background:Chartreuse;
}

.box.shadow {
   color:yellow;
}
</style> 
 </head> 
 <body> 
  <div class="box"> 
  </div> 
  <div class="shadow box"> 
  </div>  
 </body>
</html>

Related Tutorials