Assignment029g7

Use CSS3 to change the box-shadow property to desired values to get box shadows on any element. In this example, I place box shadows on divs, but you can easily aply box shadows on h2, headers, footers, etc.

Example:

box-shadow: 10px 10px 5px #888;

You can provide optional values to get different effects. See CSS comments.

I love HTML5

You can provide four values for:

horizontal offset (move shadow left or right)

vertical offest (move shadow up or down)

blur (make shadow blurry)

color (change color of shadow

I love CSS3

You can provide five values for:

horizontal offest

vertical offest

blur

blur distance (make shadow spread)

color

I love the inset box-shadow!

You can make the shadow inside


jisid-s570@chusd.org