how to make a scrollbar in html hide when not in use code example
Example 1: hide scrollbar html css
/* On Chrome */
.hide-scrollbar::-webkit-scrollbar {
display: none;
}
/* For Firefox and IE */
.hide-scrollbar {
scrollbar-width: none;
-ms-overflow-style: none;
}
Example 2: how to make scrollbar hidden
overflow: hidden;