div {
&:before {
content: ' ';
position: fixed;
z-index: -1;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: url("../../assets/images/farmer/3.png") center 0 no-repeat;
background-size: cover;
}
}
背景固定兼容处理
最新推荐文章于 2023-09-05 09:30:07 发布