make scrollbar visible only when needed code example
Example 1: css scrollbar always visible
html {
overflow-y:scroll;
}
Example 2: scrollbar appear only when needed
overflow: auto
html {
overflow-y:scroll;
}
overflow: auto