CSS Properties

User Guide / CSS Properties

background

Syntax

background: background-attachment || background-color || background-image || background-position || background-repeat

Initial Value

background: transparent

Inherited

No

Comments

The background property is a shorthand for setting the following CSS properties:

background-attachment
background-color
background-image
background-position
background-repeat