CSS background stretches to fill height in iOS but there is white space on scroll

前端 未结 7 1612
暗喜
暗喜 2021-02-06 18:57

this CSS gets my background to fill 100% of the screen height in iOS but there is a minor problem - when you scroll down there is initially white space, then when you release yo

相关标签:
7条回答
  • 2021-02-06 19:42

    Why not use background-size: cover. That way the background image will always fill its attached div or body tag

    0 讨论(0)
提交回复
热议问题