CSS中的背景属性和属性值
背景属性
(1)背景颜色:background-color:;
(2)背景图片:background-img:url(图片路径);
(3)背景平铺方式:background-repeat:no-repeat/repeat-x/repeat-y/repeat;
(4)背景图片位置:background-position:left/right/center/top/bottom;
(5)背景图片固定:background-attachment:fixed/scorll;
综合设置:background:#ff0 url() no-repeat left bottom;