CSS2 Reference Guide


This is a complete reference guide for web developers where haved we 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:

Property Description
background Composite property for the following properties:
  • background-attachment
  • background-color
  • background-image
  • background-position
  • background-repeat
background-attachment Determines if the background image is fixed in the window or scrolls as the document scrolls
background-color Sets the background color of an element
background-image Sets the background image of an element
background-position 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%.
background-repeat Determines how the background image is repeated (tiled) across an element

Spacer Bottom Left Corner ImageBottom Right Corner Image
Valid XHTML 1.0 Strict  Valid CSS! Check the accessibility of this site according to U.S. Section 508