<style type="text/css">
.box1{
width:990px;
height:32px;
background-color:#bfa;
margin:50px auto;
/*用这种方式可以达到页面的渐变效果
截图想要渐变的图片,再组合就可以了*/
background-image:url(hh.jpg);
background-repeat:repeat-x;
}
</style>
<body>
<div class="box1"></div>
</body>
HTML 图片平铺
最新推荐文章于 2022-07-14 16:59:06 发布