Return to Snippet

Revision: 44455
at April 12, 2011 02:42 by kanouf


Initial Code
.insetShadow(@x:0, @y:0, @blur:0, @color:#444){
  box-shadow: inset @x @y @blur @color;        
  -o-box-shadow: inset @x @y @blur @color;
  -webkit-box-shadow: inset @x @y @blur @color; 
  -moz-box-shadow: inset @x @y @blur @color;
  behavior: url(css/PIE.htc);
}

Initial URL
http://lostwebdesigns.com

Initial Description
Use as follow :
.example{
      .insetShadow(0, 1px, 5px, rgba(0,0,0, .5));
}

Initial Title
Less Css Inset Shadow

Initial Tags
CSS3

Initial Language
CSS