Posted By

kanouf on 09/27/10


Tagged

drop CSS3 shadow less lessjs


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

bobbym245
jplr
LeeRJohnson
f1r3fl3x


Less Css Drop Shadow


 / Published in: CSS
 

URL: http://lostwebdesigns.com

  1. .dropShadow(@x:0, @y:0, @blur:0, @color:#444){
  2. box-shadow: @x @y @blur @color;
  3. -o-box-shadow: @x @y @blur @color;
  4. -webkit-box-shadow: @x @y @blur @color;
  5. -moz-box-shadow: @x @y @blur @color;}

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: kanouf on September 27, 2010

Use as follow in your style.less file

.example{
    .dropShadow(1px, 1px, 1px, #444);
}

You need to login to post a comment.