background:
[ background-image
|| background-position [ / background-size ]?
|| background-repeat
|| background-attachment
|| background-origin background-clip?
|| background-color ]#
Initial value |
transparent
|
---|---|
Applies to | all elements |
Inherited | no |
The background
property is a shorthand for
setting the following CSS properties: