CSS3 Tutorial

Types of Style Sheet

Import Style Sheet

CSS3 Border Images

CSS2 Clip Property

CSS3 Background

CSS3 Color Property

CSS3 Linear Gradient

CSS3 Radial Gradient

CSS3 box-shadow

CSS3 text-shadow

CSS3 word-wrap

CSS3 Combinators

CSS3 Pseudo Classes

CSS3 Pseudo Element

CSS3 Nested Menu

CSS3 2D Transform

CSS3 2D Transform

CSS3 3D Transform

CSS3 Transitions

CSS3 Animation

CSS3 Animation Exercise

CSS3 Multiple Columns

After Before Shadow

CSS3 Resize Property

CSS3 Shapes

Exercise Shape

CSS Tooltip

CSS Hover Effect

CSS Question-Answer

Page Stats

Visitor: 305

CSS3 box-shadow Property

The box-shadow property is use to apply shadow to the box. One or more shadows can be apply to an html element. The property is a comma-separated list of shadows, each specified by 2-4 length values, an optional color, and an optional inset keyword.
Syntax: box-shadow: h-shadow v-shadow blur color | inset;

Example 1: box-shadow: 10px 10px 5px #888888;

Example 2: box-shadow: 0 0 50px #444 inset;

Example 3: box-shadow: 10px 10px 5px #888888, 15px 15px 5px #f00, 20px 20px 5px yellow;