.newBabcground:before{
background:url(../images/hi.png) no-repeat;
background-size:100% 100%;
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: -1;
}
我需要把背景图片一致保持全屏在手机上,求解(别说attached,移动端兼容性差)
.newBabcground:before{
background:url(../images/hi.png) no-repeat;
background-size:100% 100%;
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: -1;
}
我需要把背景图片一致保持全屏在手机上,求解(别说attached,移动端兼容性差)