1.background-image属性
- background-image: url(“图片链接”)
2.background-repea属性(默认平铺)
- 水平平铺重复 repeat-x
- 垂直平铺重复 repeat-y
- 不重复平铺 no-repeat
3.background-position属性(图片位置)
- top left
- top center
- top right
- center left
- center center
- center right
- bottom left
- bottom center
- bottom right
4.background-attachment
- fixed 图片不随页面滚动改变位置