如何给网页添加背景图片
.tag{
width:600px;
height:600px;
background-image:url(./1.jpg) no-repeat;
background-image-size:100% 100%; //图片大小为完全覆盖
}
我这样写没有成功
如何给网页添加背景图片
.tag{
width:600px;
height:600px;
background-image:url(./1.jpg) no-repeat;
background-image-size:100% 100%; //图片大小为完全覆盖
}
我这样写没有成功
转载于:https://www.cnblogs.com/lal520/p/9660277.html