我在 ipad 中使用此 css 按钮工作背景附件:已修复。 请帮助我。在链接下方
.home #bottom-header {
background-attachment: fixed !important;
background-clip: border-box;
background-color: rgb(255, 255, 255);
background-image: url("images/hero_bg.jpg");
background-origin: padding-box;
background-position: center top;
background-repeat: no-repeat;
background-size: 100% auto;
height: 100%;
position: relative;
width: 100%;
}
最佳答案
这个过程对于移动浏览器上的渲染过程来说是相当昂贵的,所以它被禁用了。
关于html - 背景附件: fixed is not working in iPad,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31295953/