关于 this website页脚中有一张背景图片,应该贴在页面底部。我指的不是页面的可见部分,而是页面的最底部。但是在内容较短的页面上 - like this one - 它看起来离底部有一段距离。
我目前使用的 CSS 是:
html {
background: url(../images/responsive/bg.svg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
outline:0!important;
}
最佳答案
关于html - 使背景图像粘在页面底部,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14651007/