Skip to main content
Home / Code Snippets / CSS / Hide Scrollbar in Edge, IE 10/11

You can make it auto-hiding instead of always-showing:

html {
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

Turns out like this:

Credit to Thierry Koblentz for digging this gem out of Jon Neal’s Sanitize.css.