HTML and CSS Reference
In-Depth Information
Name
background
Values:
[ <bg-layer> , ]* <final-bg-layer>
Expansions:
<bg-layer>
<bg-image> || <bg-position> [ / <bg-size> ]? || <bg-repeat> || <bg-attachment'> || < bg-
box>{1,2}
<final-bg-layer>
<bg-image> || <bg-position> [ / <bg-size> ]? || <bg-repeat> || <bg-attachment'> || < bg-
box>{1,2} || <bg-color>
Initial value:
Refer to individual properties
Applies to:
All elements
Inherited:
No
Percentages:
Allowed for <bg-position> (see background-position ) and refer to both the dimensions of
the element's background area and the dimensions of the origin image
Computed value:
See individual properties
Description:
A shorthand way of expressing the various background properties of one or more element
backgrounds using a single declaration. As with all shorthands, this property will set all of the
Search WWH ::




Custom Search