Color and Backgrounds
These properties allow the author to control the foreground and background color of elements and the placement of background images.
In this Section
background-color
sets the background’s colorbackground-image
sets the background image for an elementbackground-repeat
sets the tiling (and tiling direction) of abackground-imagebackground-position
sets the position of a background imagebackground-attachment
defines whether the background image scrolls with the containing block or remains fixed to the viewportbackground
sets the background’s appearancecolor
defines the foreground color for text content
User-contributed notes
There are no comments yet.
Add a note
To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.