Setting Element Backgrounds

The background Properties

PropertyDescription
background-colorSets the background color.
background-imageSets the background images.
background-repeatSets the repeat style for images.
background-sizeSets the size of a background image.
background-positionPositions the background image.
background-attachmentSets the attachment style for images.
background-clipSpecifies the clipping style for images.
background-originPositions the background image.
backgroundShorthand element.
Home 
  HTML CSS Book 
    CSS  

Background:
  1. Setting Element Backgrounds
  2. Setting the Background Color and Image
  3. Setting the Background Image Size
  4. Setting the Background Image Position
  5. Setting the Attachment for the Background
  6. Setting the Background Image Origin
  7. Using the background Shorthand Property
Related: