Answers for "how to hide scrollbar of particular overflow in html"

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
0

hide the scrollbar in css if not overflow

.myClass {
  /*auto will remove and add the scroll bar as needed*/
  overflow: auto;
}
Posted by: Guest on September-30-2020

Code answers related to "how to hide scrollbar of particular overflow in html"

Browse Popular Code Answers by Language