Skip to Navigation
< Return to Ferrigan Design Websites Page

Lesson 12 Final Exam Project

User Interface Cheatsheet

Box Shadow

The CSS box-shadow properties and values are listed below.

box-shadow:
none /* default, no shadow */
h-offset /* required, horizontal offset of the shadow, positive moves the shadow right, negative moves the shadow left */
v-offset /* required, vertical offset of the shadow, positive moves the shadow below, negative moves the shadow above */
blur /* optional, blur radius, the higher the number, the more blurred the shadow */
spread /* optional, spread radius, positive value increases the shadow size, negative value decreases the shadow size */
color /* optional, shadow color, default value is text color */
inset /* optional, changes shadow to inner shadow */
initial /* sets this to default value */
inherit /* inherits this property from its parent element */