代码之家  ›  专栏  ›  技术社区  ›  Saurav Baid

我们如何从固定背景中去除额外的空白

  •  -1
  • Saurav Baid  · 技术社区  · 4 年前

    我有固定的背景,但在滚动一些额外的空白是可见的,我们如何才能删除它 enter image description here

    我用过以下方法

    background-attachment: fixed; background-repeat: no-repeat; background-position: center; margin: 0; padding: 0;

    0 回复  |  直到 4 年前