Answers for "delete scroll bar css"

3

how to remove scrollbar in css

::-webkit-scrollbar {
    display: none;
}
Posted by: Guest on August-16-2021
-1

how to eliminate scroll bar in html

html { overflow-y: hidden; }
Posted by: Guest on March-23-2020
-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