.box{
background:url('../../logo.png') no-repeat center center;
background-size:100%; cover
width:500px;
height:500px;
background-attachment: fixed;
}
css中设置背景图片
于 2023-09-26 09:33:06 首次发布
.box{
background:url('../../logo.png') no-repeat center center;
background-size:100%; cover
width:500px;
height:500px;
background-attachment: fixed;
}