Answers for "stop scrolling using css"

5

css how to prevent horizontal scrolling

html, body {
    max-width: 100%;
    overflow-x: hidden;
}
Posted by: Guest on November-24-2019
1

css stop scrollbar

html {
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
}

html::-webkit-scrollbar {
    width: 0px; /* For Chrome, Safari, and Opera */
}
Posted by: Guest on July-02-2020

Code answers related to "stop scrolling using css"

Browse Popular Code Answers by Language