📜  防止反弹滚动css代码示例

📅  最后修改于: 2022-03-11 14:47:44.751000             🧑  作者: Mango

代码示例1
html, body {
    height: 100%;
    overflow: hidden;
}

#main-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: auto;
}