设计问题:更改论坛径向背景尺寸

哦对了,我忘了 background-attachment: fixed 在 iOS 上不起作用……他们禁用了这个功能,因为据说滚动时会导致整个屏幕重绘,这对性能很不利。

不过有一些变通方法……

示例 CSS
body.mobile-view {
  background: none;
}

body.mobile-view:after {
  content:"";
  position:fixed;
  left:0;
  top:0;
  right:0;
  bottom:0;
  z-index:-1;
  display:block;
  background: radial-gradient(circle at center, rgba(255,255,255,1) 50%, rgba(255,255,255,0)) fixed, url(https://forums.pickleballist.com/uploads/default/original/1X/e7792afe9a5b7fbd26141c3c21e82b70cd495069.svg) center top / 300px auto;
  background-size:cover;
}

……不过,虽然这些方法启用了该功能,但它们仍然会受到性能问题的影响。如果你对此不太满意,或许可以考虑为移动端采用完全不同的背景方案。