how to remove scroll bar but scroll in css code example
Example 1: css hide scrollbar but allow scroll
html {
overflow: scroll;
}
::-webkit-scrollbar {
width: 0px;
background: transparent; /* make scrollbar transparent */
}
Example 2: how to eliminate scroll bar in html
html { overflow-y: hidden; }