Answers for "html why don't show scrollbar"

CSS
1

css scrollbar always visible

html {
    overflow-y:scroll;
}
Posted by: Guest on May-27-2021
-1

how to hide scrollbar overflow

html {
overflow: scroll;
overflow-x: hidden;
}
::-webkit-scrollbar {
width: 0px; /* 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 August-14-2021

Browse Popular Code Answers by Language