How To Hide Scrollbars With CSS

PHOTO EMBED

Tue Mar 02 2021 13:42:08 GMT+0000 (UTC)

Saved by @mishka #css

/* Hide scrollbar for Chrome, Safari and Opera */
.example::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.example {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
content_copyCOPY

Used it on the dashboard sidebar on this site. And embedded snippets horizontal scroll.

https://www.w3schools.com/howto/howto_css_hide_scrollbars.asp