background

properties of the element's background, such as color, image, and repeat

Example

1

Description

properties of the element's background, such as color, image, and repeat

This shorthand property sets the following properties in one statement: background-color, background-image, background-repeat, background-attachment, background-position. As few of these properties as desired can be specified, but they must occur in that order.

Values

Value Description
Values
background-color background-image background-repeat background-attachment background-position