body {
background:url(http://www.baidu.com/img/img.jpg) top left no-repeat;
background-size: 100%;
padding:30px;
background-repeat: no-repeat;
background-attachment: fixed;
}
html背景图片平铺且固定
最新推荐文章于 2024-05-16 16:22:03 发布
body {
background:url(http://www.baidu.com/img/img.jpg) top left no-repeat;
background-size: 100%;
padding:30px;
background-repeat: no-repeat;
background-attachment: fixed;
}