Answers for "hide scroll bar in scrollable element css"

CSS
3

css hide scrollbar but allow scroll

html {
  overflow:   scroll;
}
::-webkit-scrollbar {
    width: 0px;
    background: transparent; /* make scrollbar transparent */
}
Posted by: Guest on October-05-2020
1

css hide scrollbar

// Sass Mixing
@mixin hideScrollbar {
  &::-webkit-scrollbar {
    width: 0 !important
  }
  -ms-overflow-style: none;
  scrollbar-width: none;
}
Posted by: Guest on December-11-2020

Browse Popular Code Answers by Language