我必须通过 HTML 页面的背景来修复全宽,但背景的高度与我的设计不符。我该如何解决?
CSS 代码:
html {
background: url(images/body_bg.jpg') no-repeat top left fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
最佳答案
关于html - 如何让背景拉伸(stretch)到全宽?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21899051/