Answers for "hide the scrolling bars html"

CSS
0

hide scroll bar

html {
    overflow: scroll;
    overflow-x: hidden;
}
::-webkit-scrollbar {
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}
/* Optional: show position indicator in red */
::-webkit-scrollbar-thumb {
    background: #FF0000;
}
Posted by: Guest on July-07-2021
0

how to hide scrollbar html

<style type="text/css">
    body {
        overflow-y: hidden;
    }
</style>
Posted by: Guest on July-10-2021

Browse Popular Code Answers by Language