我得到了这个设计,我正试图将它应用到我的网站上。请注意,该<html>
元素有一个背景图像(手在空中),它粘在页面底部。
但是,当我将 css 文件迁移到我的应用程序时,由于某种原因,此图像出现在页面的中间位置。我检查了相关的 CSS,在这两种情况下都是:
html {
background-attachment: fixed;
background-clip: border-box;
background-color: transparent;
background-image: url("../../img/bg.svg");
background-origin: padding-box;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
outline: 0 none !important;
}