How to compensate for Vertical Scrollbar when it is not yet present

后端 未结 2 717
自闭症患者
自闭症患者 2020-12-10 12:20

Maybe this is an easy fix, but it has been driving me crazy for a long time so I finally decided to see if a solution exists.

Simply put, I center most of my web pag

2条回答
  •  無奈伤痛
    2020-12-10 13:06

    NB: overflow-y: hidden prevents the user from scrolling down by any means, effectively rendering any content below the lower viewport inaccessible.

提交回复
热议问题