日期:2018-07-30 阅读:28651
参考: http://www.w3school.com.cn/cssref/pr_background.asp
可以设置如下属性:
background-color
background-position -- center center
background-size -- cover 或者 contain
background-repeat -- no-repeat 或者 repeat-x 或者 repeat-y
background-attachment -- fixed 或者 scroll
background-image -- url(图片名路径)