1.背景颜色
background-color:颜色值;
2.背景图片
background-image : none | url (url)
3.背景平铺
background-repeat : repeat | no-repeat | repeat-x | repeat-y
①repeat背景图像在纵向和横向上平铺
②no-repeat背景图像不平铺
③repeat-x背景图像在横向上平铺
④repeat-y背景图像在纵向平铺
4.背景位置
background-position : length || length
length百分数 | 由浮点数字和单位标识符组成的长度值
background-position : position || position
positiontop | center | bottom | left | center | right 方位名词
5.背景附着
background-attachment : scroll | fixed
①scroll背景图像是随对象内容滚动
②fixed背景图像固定
6.背景简写
background: 背景颜色 背景图片地址 背景平铺 背景滚动 背景位置;
background: transparent url(image.jpg) repeat-y scroll center top ;