图片地址换成自己的
<style type="text/css">
body {
background: url("image/11.jpg")no-repeat center fixed;
background-repeat:no-repeat;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
}
</style>
本文介绍了一种使用CSS设置背景图片的方法,并详细解释了如何调整图片的位置、重复方式及尺寸大小,确保图片能够适应不同的屏幕分辨率。
图片地址换成自己的
<style type="text/css">
body {
background: url("image/11.jpg")no-repeat center fixed;
background-repeat:no-repeat;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
}
</style>

被折叠的 条评论
为什么被折叠?