【发布时间】:2016-10-07 02:47:03
【问题描述】:
我在我的 HTML 页面上添加了背景图片。我希望它在所有屏幕尺寸和缩放(放大/缩小)上都得到修复。
这是解决问题的笔:LINK
CSS 是:
body {
color: #fff;
background: url("http://cdn.wonderfulengineering.com/wp-content/uploads/2016/01/Live-Wallpaper-1.jpeg");
background-size: cover;
background-repeat: no-repeat;
}
告诉我我应该如何接近:) xD
【问题讨论】:
标签: html css image background