Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

hide page scrollbar css

html {
    overflow: scroll;
    overflow-x: hidden;
}
::-webkit-scrollbar {
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}
/* Optional: show position indicator in red */
::-webkit-scrollbar-thumb {
    background: #FF0000;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #hide #page #scrollbar #css
ADD COMMENT
Topic
Name
6+4 =