test{ background: url(images/video-bg3.png) no-repeat center;
width:100%;
height:600px;
background-attachment: fixed;
}
CSS设置背景图像是否固定或者随着页面的其余部分滚动。
最新推荐文章于 2024-04-28 17:55:17 发布
test{ background: url(images/video-bg3.png) no-repeat center;
width:100%;
height:600px;
background-attachment: fixed;
}