background-repeat:背景图片重复显示
repeat重复显示;
no-repeat:不重复显示
background-position:背景图像的位置
方位名词:right left top bottom center
百分比:50% 50%
background-size:css3背景图片
bockground-;
color:背景颜色
image:一个或多个背景图像
position:背景图像的位置
size:图片的大小
repeat:背景图像重复显示
origin:背景图像的定位区域:
1.padding-box:相对于内边距来定位
2.boeder-box:相对于边框盒来定位
3.content-box:相对于内容框来定位
clip:背景图像的绘画区域:
1.padding-box:从内边距开始绘制
2.boder-box:默认值
3.content-box:从内容区开始绘制
attachment:背景图像是否固定或随着页面的其余部分滚动
1.scroll:背景图片随页面滚动,默认
2.fixed:背景图片不随页面滚动
3.local:背景图片随元素内容滚动