Sunday, 15 March 2015

CSS Backgrounds

CSS background properties are used to define the background effects of an element.
CSS properties used for background effects:
  • background-color
  • background-image
  • background-repeat
  • background-attachment
  • background-position

Background Color

The background-color property specifies the background color of an element.

Background Image

The background-image property specifies an image to use as the background of an element.
By default, the image is repeated so it covers the entire element.


No comments:

Post a Comment