.shadow {
  -moz-box-shadow:    3px 3px 5px 6px #ccc;
  -webkit-box-shadow: 3px 3px 5px 6px #ccc;
  box-shadow:         3px 3px 5px 6px #ccc;
}
1.The Horizontal Offset
The Horizontal offset of the shadow, positive means the shadow will be on the right of the box, a negative offset will put the shadow on the left of the box.
2.The Vertical offset
The vertical offset of the shadow, a negative one means the box- shadow will be above the box, a positive one means the shadow will be below the box.
3.The Blur Radius(Optional)
If set to 0 the shadow will be sharp, the higher the number, the more blurred it will be
4.The Spread Radius(Optional)
The spread radius, positive value Increases the size of shadow, negative decreases the value of the size of the shadow. The Default value is 0.(The shadow is same size as blur)
5.Color
Advertisements

CSS shadows

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s