background
Definition
The background property is a shorthand method for setting background-color, background-image, background-repeat, background-attachment and background-position.
Example
body {background: white url('/images/sun.gif') repeat fixed top center}
This is equivalent to:
body {background-color: white;background-image: url('/images/sun.gif');background-repeat: repeat;background-attachment: fixed;background-position: top center;}
Characteristics
Possible values
Default value
See individual properties
Applies to
Inherited
No
See also