.setback{
background-image: url("../assets/foodpic.jpg");图片地址
background-repeat:no-repeat ;背景图片不重复
background-size:100% 100%;达到窗口的百分百比例
background-attachment: fixed;图片固定,随着页面滚动而移动
height: 100%;
width:100%;
}

标签: none

添加新评论