Search
 
SCRIPT & CODE EXAMPLE
 

CSS

hide scrollbar but still scroll

.class {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}
.class::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}
Comment

Hide scroll bar, but while still being able to scroll

.container {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}
.container::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}
Comment

hide scroll bar but still be scrollable.

.element::-webkit-scrollbar { width: 0 !important }
Comment

hide scrollbar but still scroll

//Hide scrollbar completly (vertical & horizontaly) scrollbar but still able to scroll
/* replace ".container" with your "id" or "className" */
.container {
  -ms-overflow-style: none;  
  scrollbar-width: none;
}
.container::-webkit-scrollbar { 
  display: none; 
}
Comment

css hide scrollbar but scrollable

-webkit- (Chrome, Safari, newer versions of Opera):
.element::-webkit-scrollbar { width: 0 !important }
-moz- (Firefox):
.element { overflow: -moz-scrollbars-none; }
-ms- (Internet Explorer +10):
.element { -ms-overflow-style: none; }
Comment

hide scroll bar when not needed

    overflow: auto;
Comment

PREVIOUS NEXT
Code Example
Css :: css transform border radius 
Css :: postcss-preset-env: end value has mixed support, consider using flex-end instead 
Css :: css remove outline 
Css :: remove cursor pointer css 
Css :: how to add text stroke in css 
Css :: css animation infinite 
Css :: css glow on hover 
Css :: css counters 
Css :: css firefox remove scrollbar 
Css :: tint image css 
Css :: css strike through 
Css :: add more than 2 css jquery 
Css :: how to make border around text in html 
Css :: css vertical align center 
Css :: fill background color left to right css 
Css :: sass class with another class 
Css :: vertical hr 
Css :: how to add font otf format in html 
Css :: html center image 
Css :: css image transition fade 
Css :: hover border bottom css fixed 
Css :: css background image with url 
Css :: css hover darken color 
Css :: rgba green color 
Css :: justify center wont wotk with max-width css 
Css :: box model css 
Css :: scroll padding top in css 
Css :: how to move anything left in css 
Css :: remove box around button when clicked 
Css :: css for disabled button 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =