将图片塞满整个模块:
.imgBg{
background-image:url("");
backgound-size:100%;
//backgound-size:cover; //效果类似 100%
background-position:center;
background-attachment:fixed;
}
将图片塞满整个模块:
.imgBg{
background-image:url("");
backgound-size:100%;
//backgound-size:cover; //效果类似 100%
background-position:center;
background-attachment:fixed;
}