Pages

Tuesday, April 5, 2011

CSS background property reference


CSS background property reference
you can use one of the properties seperated by “,” and all the properties in each line.
BACKGROUND
background
background-image
background-position
background-size
background-repeat
background-attachment
background-origin
background-clip
background-color
background-break
Bounding-box ,continuous, each-box
background-color
color
transparent
background-clip
length
%
border-box, padding-box,
content-box , no-clip
background-attachment
scroll ,fixed
background-image
url
none
background-origin
Border-box, padding-box, content-box
background-repeat
repeat , repeat-x , repeat- y, no-repeat
background-size
length
%
auto , cover, contain
background-position
top left , top center , top
right , center left , center center , center right ,
bottom left , bottom center , bottom right
x-% y-%
x-pos y-pos