Background property in CSS

CSS background properties are used to define the background effects of an element.CSS properties used for background effects:
  1. background-color
  2. background-image
  3. background-repeat
  4. background-attachment
  5. background-position

Note:
When using the shorthand property the order of the property values are:
  1. background-color
  2. background-image
  3. background-repeat
  4. background-attachment
  5. background-position


It does not matter if one of the property values is missing, as long as the ones that are present are in this order.

0 comments :

Post a Comment

> Related Posts with Thumbnails
 

Copyright © 2012. GS dot net - All Rights Reserved - Design by BTDesigner - Proudly powered by Blogger