background-repeart
初始值:repeat
取值范围:repeat|repeat-x|repeat-y|no-repeat
background-image:
初始值:none
background-color:
初始值:transparent
取值范围:颜色|transparent
background-position:
在IE中可分解为background-position-x和background-position-y,firefox不支持
初始值:0% 0%
取值范围:百分值|长度|top left right bottom center
注意x值在前 y值在后
background-attachment:
初始值 scroll
取值范围 scroll|fixed
scroll背景随文档滚动
fixed背景在浏览器可视区域固定
background可以作为以上属性的简写、除x和y值外、Css属性值是不讲顺序的
初始值:repeat
取值范围:repeat|repeat-x|repeat-y|no-repeat
background-image:
初始值:none
background-color:
初始值:transparent
取值范围:颜色|transparent
background-position:
在IE中可分解为background-position-x和background-position-y,firefox不支持
初始值:0% 0%
取值范围:百分值|长度|top left right bottom center
注意x值在前 y值在后
background-attachment:
初始值 scroll
取值范围 scroll|fixed
scroll背景随文档滚动
fixed背景在浏览器可视区域固定
background可以作为以上属性的简写、除x和y值外、Css属性值是不讲顺序的