Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css firefox remove scrollbar

@-moz-document url-prefix() { /* Disable scrollbar Firefox */
            html{
              scrollbar-width: none;
            }
          }
          body {
            margin: 0; /* remove default margin */
            scrollbar-width: none; /* Also needed to disable scrollbar Firefox */
            -ms-overflow-style: none;  /* Disable scrollbar IE 10+ */
            overflow-y: scroll;
          }
          body::-webkit-scrollbar {
            width: 0px;
            background: transparent; /* Disable scrollbar Chrome/Safari/Webkit */
          }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #css #firefox #remove #scrollbar
ADD COMMENT
Topic
Name
8+1 =