Jeanluca Scaljeri Jeanluca Scaljeri - 1 year ago 174
CSS Question

Chrome (windows) does not hide scrollbar

I have this scrollable div, which (on my Mac in Chrome) hides the scrollbar when I don't scroll. On windows 8 however, it doesn't work in Chrome and Firefox.

Ie doesn't support this by too, but I've enabled it using the following CSS:

-ms-overflow-style: -ms-autohiding-scrollbar;

Is there any way to enable this behaviour for Chrome and Firefox

Here is a jsfiddle

Answer Source

maybe you can use something like that?

body {
    overflow-y: hidden;

body:hover {
    overflow-y: scroll;

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download