CSS背景(background) 1.背景颜色background-color 2.背景图片background-image: url() 3.是否平铺background-repeat background: repeat 横纵都平铺 background: no-repeat 不平铺 background: repeat-x x轴平铺 background: repeat-y y轴平铺 3.图片位置background-position