CSS background property
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.
background : background-color background-image background-position / background-size background-repeat background-attachment background-origin background-clip
It applies to all elements
Was this article helpful?