This is a complete reference guide for web developers where we have listed all the CSS properties related to background defined in the World Wide Web Consortium's Recommended Specification for Cascading Style Sheets, Level 2.
Click any property to see its description with examples −
|Sr.No.||Property & Description|
Composite property for the following properties −
Determines if the background image is fixed in the window or scrolls as the document scrolls.
Sets the background color of an element.
Sets the background image of an element.
Sets the initial position of the element's background image, if specified; values normally are paired to provide x, y positions; default position is 0% 0%.
Determines how the background image is repeated (tiled) across an element.