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

how to hide scrollbar css

/* hide scrollbar but allow scrolling */
body {
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
  overflow-y: scroll; 
}

body::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}
Comment

how to hide scrollbar overflow

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;
}
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 scrollbar of a div but keep functionality

.class-called-body::webkit-scrollbar{
	display: none;
}
Comment

css hide scrollbar

// Sass Mixing
@mixin hideScrollbar {
  &::-webkit-scrollbar {
    width: 0 !important
  }
  -ms-overflow-style: none;
  scrollbar-width: none;
}
Comment

hide scroll bar but still be scrollable.

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

how to hide scrollbar html

<style type="text/css">
    body {
        overflow-y: hidden;
    }
</style>
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 :: remove button shadow css 
Css :: css dark filter over image 
Css :: hidden div css 
Css :: Bootstap 5.2.0 cdn 
Css :: rounded input css 
Css :: why tr border not showing 
Css :: make images same size css 
Css :: bring element to front css 
Css :: centralizar div verticalmente css 
Css :: tailwind absolute center 
Css :: give transition on box shadow 
Css :: position relative get in center 
Css :: mat select remove underline 
Css :: backwards text css 
Css :: scss not working with storybook 
Css :: css ios disable zoom 
Css :: center align div vertically and horizontally css 
Css :: checkbox input in css 
Css :: centred div 
Css :: width clamp css 
Css :: css border on part of side 
Css :: html input search x cursor pointer 
Css :: grid repeating auto columns 
Css :: box bottom shadow css 
Css :: select item in populate mongoose 
Css :: word ellipsis css 
Css :: border color transparent 
Css :: nth-child() css 
Css :: css global variables 
Css :: css cut text of 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =