Answers for "hide scrollbar in a div"

CSS
36

hide scrollbar css

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

/* Hide scrollbar for IE, Edge add Firefox */
.scrollbar-hidden {
  -ms-overflow-style: none;
  scrollbar-width: none; /* Firefox */
}
Posted by: Guest on July-01-2020
0

hide scrollbar css

/* hide scrollbar but allow scrolling */element {    -ms-overflow-style: none; /* for Internet Explorer, Edge */    scrollbar-width: none; /* for Firefox */    overflow-y: scroll; }element::-webkit-scrollbar {    display: none; /* for Chrome, Safari, and Opera */}
Posted by: Guest on August-26-2021

Browse Popular Code Answers by Language