Search
 
SCRIPT & CODE EXAMPLE
 

CSS

hide scrollbar css

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-hidden::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge add Firefox */
.scrollbar-hidden {
  -ms-overflow-style: none;
  scrollbar-width: none; /* Firefox */
}
Comment

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 scrollbar css

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

element::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}
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

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;
}
Comment

hide scrollbar css

.container {
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
}
.container::-webkit-scrollbar { /* WebKit */
    width: 0;
    height: 0;
}
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 scrollbar css

::-webkit-scrollbar {
    display: none;
}
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 scrollbar css

 /* hide scrollbar but allow scrolling */element {    -ms-overflow-style: none; /* for Internet Explorer, Edge */    scrollbar-width: none; /* for Firefox */    overflow-y: scroll; }element::-webkit-scrollbar {    display: none; /* for Chrome, Safari, and Opera */}
Comment

PREVIOUS NEXT
Code Example
Css :: background position 
Css :: background center 
Css :: css list in line 
Css :: css text slider animation 
Css :: font shorthand 
Css :: display flex css compatibility 
Css :: css to increase font size 
Css :: customize scroll bar css 
Css :: border collapse makes outset not work 
Css :: css scroll fixed content 
Css :: lightning color code 
Css :: jest afterAll 
Css :: media breakpoints 
Css :: resize any element in CSS 
Css :: css linkup 
Css :: css grid container 
Css :: angular css path to assets 
Css :: how to draw rhombus in css 
Css :: ellipsis 
Css :: html style input number buttons 
Css :: z-index 
Css :: tailwind npm 
Css :: mat slide toggle iverted 
Css :: remove black border css 
Css :: css line-through with words 
Css :: box shadow example 
Css :: truncate multiline text 
Css :: background color for a page in css 
Css :: css 16 9 ratio 
Css :: change option tag css 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =