背景
background:颜色 图片 平铺方式 固定方式 位置
背景颜色
background-color: #ccc;
背景图像
background-image:url(背景图像的位置及全称)
背景图像的重复方式
background-repeat:[repeat、no-repeat、repeat-x、repeat-y]
背景图像的位置
background-position:top [left center right] center[left center right] bottom[left center right], x坐标 y坐标[第一个值是水平位置,第二个值是垂直位置。左上角是 0 0。单位是像素
(0px 0px) ]
背景图像的依附方式
background-attachment:[scroll、fixed]