| background-color: | |
|---|---|
| color | transparent; | 
| np. background-color: gainsboro; | background-color: transparent; | 
| background-image: | |
|---|---|
| image | none; | 
| np. background: url(w3c.logo.png); | background: none; | 
| background-repeat: | |||
|---|---|---|---|
| repeat-x; | repeat-y; | repeat; | no-repeat; | 
| repeat-x; | repeat-y; | repeat; | no-repeat; | 
| background-position: | left; | center; | right; | 
|---|---|---|---|
| top; | left top; | center top; | right top; | 
| center; | left center; | center center; | right center; | 
| bottom; | left bottom; | center bottom; | right bottom; | 
| background-attachment: | |
|---|---|
| scroll; | fixed; | 
| background-clip: | ||
|---|---|---|
| border-box; | padding-box; | content-box; | 
| border-box; | padding-box; | content-box; | 
| background-origin: | ||
|---|---|---|
| border-box; | padding-box; | content-box; | 
| border-box; | padding-box; | content-box; | 
| background-size: | length | percentage | auto; | 
|---|---|---|---|
| length | 10px 10px; | 50% 20px; | auto 20px; | 
| percentage | 10px 50%; | 50% 50%; | auto 50%; | 
| auto | 10px auto; | 50% auto; | auto auto; | 
| background: | 
|---|
| background-image || background-position || background-repeat || background-attachment || background-color | 
| np. background: url('logo.w3c.png') no-repeat right; | 
| [ bg-layer , ]* final-bg-layer | 
| border-color: | |||
|---|---|---|---|
| color {1,4} | |||
| np. border-color: silver gray; | |||
| border-left-color: border-right-color: border-top-color: border-bottom-color: | |||
| color | 
| border-style: | ||||
|---|---|---|---|---|
| line-style {1,4} | ||||
| none; | dashed; | groove; | solid; | |
| dotted; | double; | ridge; | inset; | outset; | 
| border-left-style: border-right-style: border-top-style: border-bottom-style: | ||||
| line-style | ||||
| border-width: | |||
|---|---|---|---|
| line-width {1,4} | |||
| thin; | medium; | thick; | length np. 4px; | 
| border-left-width: border-right-width: border-top-width: border-bottom-width: | |||
| line-width | |||
| border: border-left: border-right: border-top: border-bottom: | |
|---|---|
| border-width||border-style||border-color | |
| np. border-bottom: solid gray; | np. border-bottom: 2px solid; | 
| np. border-bottom: 2px solid gray; | |
| border-radius:border-top-left-radius:border-top-right-radius:border-bottom-left-radius: border-bottom-right-radius: | |||
|---|---|---|---|
| length | percentage {1,4} | length | percentage/length | percentage | ||
| np. 10px; | np. 5px/10px; | ||
| length | percentage | |||
| 10px | 10px | 10px | 10px | 
| border-image: | 
|---|
| border-image-source || border-image-slice [ / border-image-width | / border-image-width? / border-image-outset ]? || border-image-repeat | 
| np. border-image: url(w3c.logo.png) 10 1 repeat; | 
| box-shadow: | |
|---|---|
| none; | inset? && length {2,4} && color? | 
| none; | np. box-shadow: 3px 3px; | 
| np. box-shadow: inset 3px 3px 3px silver; | |