Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经构建了一个简单的网页,其中在body 标记中包含背景图像,并且背景大小设置为覆盖在 css 文件中。当我调整我的 chrome 窗口的大小时,原始图像会显示在同一图像附近,依此类推拼贴画。我该如何解决这个问题?
将以下 CSS 代码添加到您的样式表
background-repeat: no-repeat;