background(简写)
background:背景颜色 背景图片地址 背景平铺 背景滚动 背景位置
background: red url(image.jpg) repeat-x scroll 50% 0 ;
background-color
background-color: red
background-image
background-image : url( ........ )
background-repeat
background-repeat : repeat | no-repeat | repeat-x | repeat-y
repeat-x:背景图像在横向上平铺
repeat-y:背景图像在纵向上平铺
repeat:背景图像在横向和纵向平铺
no-repeat:背景图像不平铺
round:背景图像自动缩放直到适应且填充满整个容器。(CSS3)
space:背景图像以相同的间距平铺且填充满整个容器或某个方向。(CSS3)
background-attachment
background-attachment : scroll | fixed
background-position
background-position: 15px | top | left | right | center;