Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

hide scrollbar css

/* A very quick an applicable solution is to use this piece of code: */
html {
overflow: scroll;
overflow-x: hidden;
}
::-webkit-scrollbar {
width: 0px; /* 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 #scrollbar #css
ADD COMMENT
Topic
Name
3+9 =