#page{
position: relative;
width: 100%;
height: 100%;
background-image:url(../img/bg.JPG);
background-attachment: fixed;
background-repeat: no-repeat;
background-size: cover;
float: left;
}
css 设置背景图片铺满固定不动
最新推荐文章于 2024-06-14 11:43:35 发布