Posted By

kanouf on 04/12/11


Tagged

CSS3 lessjs inset-shadow


Versions (?)

Less Css Inset Shadow


 / Published in: CSS
 

URL: http://lostwebdesigns.com

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

  1. .insetShadow(@x:0, @y:0, @blur:0, @color:#444){
  2. box-shadow: inset @x @y @blur @color;
  3. -o-box-shadow: inset @x @y @blur @color;
  4. -webkit-box-shadow: inset @x @y @blur @color;
  5. -moz-box-shadow: inset @x @y @blur @color;
  6. behavior: url(css/PIE.htc);
  7. }

Report this snippet  

You need to login to post a comment.