Answers for "prevent bounce scroll css"

CSS
0

prevent bounce scroll css

html, body {
    height: 100%;
    overflow: hidden;
}

#main-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: auto;
}
Posted by: Guest on May-01-2021

Browse Popular Code Answers by Language