Box Shadow Properties


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

Box shadow properties (example) box-shadow: 1px 3px 5px 2px #c6c6c6;
1px = horizontal offset
3px = vertical offset
5px = blur radius
2px = spread distance
#c6c6c6 = color


Copy this code and paste it in your HTML
  1. border: 1px solid #A0A0A0;
  2. box-shadow: 1px 3px 5px #c6c6c6;
  3. -moz-box-shadow: 1px 3px 5px #c6c6c6;
  4. -webkit-box-shadow: 1px 3px 5px #c6c6c6;
  5. filter:progid:DXImageTransform.Microsoft.DropShadow(color='#c6c6c6',offX='20',offY='20');

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.