Answers for "how to make the scroll bar hidden automatically in html 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
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 make the scroll bar hidden automatically in html css"

Browse Popular Code Answers by Language