Html身体背景图像 [英] Html Body Background Image
本文介绍了Html身体背景图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 body
标记中,我添加了一个 background-image
。但图像重复4次。如何解决只显示一次?
In body
tag, I added a background-image
. But the image is repeated 4 times. How to fix that to display it only single time?
HTML代码:
<body background="image.png"></body>
CSS代码:
body{
background-image : no-repeat;
}
推荐答案
它的背景重复
body
it's background-repeat body
body{
background-repeat: no-repeat;
}
这篇关于Html身体背景图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文