Answers for "hide browser scrollbar"

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
1

how to hide the scrollbar in css

::-webkit-scrollbar {
  display: none;
}
Posted by: Guest on December-27-2020
0

how to hide scrollbar html

<style type="text/css">
    body {
        overflow-y: hidden;
    }
</style>
Posted by: Guest on July-10-2021
-1

javascript hide scrollbar

function HideScrollbar() {
  var style = document.createElement("style");
  style.innerHTML = `body::-webkit-scrollbar {display: none;}`;
  document.head.appendChild(style);
}
Posted by: Guest on June-22-2020

Browse Popular Code Answers by Language