body {
overflow: hidden;
position: fixed;
width:100%;
height:100%;
background: url(“image.png”) no-repeat;
background-size:cover;
}
PC端css背景图片页面自适应充满屏幕
最新推荐文章于 2023-11-13 17:08:55 发布
body {
overflow: hidden;
position: fixed;
width:100%;
height:100%;
background: url(“image.png”) no-repeat;
background-size:cover;
}