body:before {
content: ' ';
position: fixed;
z-index: -1;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: url(...) center 0 no-repeat;
background-size: cover;
}
移动端背景无法固定解决方案
猜你喜欢
转载自blog.csdn.net/weixin_43553701/article/details/93369588
今日推荐
周排行