Less Css Inset Shadow


/ Published in: CSS
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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. }

URL: http://lostwebdesigns.com

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.