CSS background property
Description
CSS background is a shorthand property of background-position, background-image, background-size, background-repeat, background-attachment, and background-clip property.
The following syntax represents only one layer. We can get more layers by repeating the following syntax. These layers are separated with a comma.
Syntax
background : background-color background-image background-position / background-size background-repeat background-attachment background-origin background-clip
Applicable to
It applies to all elements
From web4college, the free CSS digger
#CSS digger
Was this article helpful?
▾