Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

hide scroll bar

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 #scroll #bar
ADD COMMENT
Topic
Name
5+2 =