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

CSS hide scroll

/* Chrome, Safari and Opera */
::-webkit-scrollbar {
  display: none;
}
/* Edge, Firefox */
body, html {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
/* I removed IE because IE is gone */
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 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;
}
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

hide page scrollbar css

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

css hide scrollbar

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

hide page scrollbar css

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

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

hide scrollbar

.your-overflow-scroll-class::-webkit-scrollbar {
  ...
  width: 0.5rem; //only hide the vertical scrollbar
  height: 0px; //only hide the horizontal scrollbar
}
Comment

PREVIOUS NEXT
Code Example
Css :: a no underline 
Css :: add padding to scrollbar 
Css :: reset all input styles with 1 property css 
Css :: convert image in rounshape in css 
Css :: media query for mobile landscape only 
Css :: text gradient css3 
Css :: remove border svg 
Css :: css linear gradient 
Css :: footer at bottom of body 
Css :: red color rgb 
Css :: arrow down css 
Css :: set border only left and right css 
Css :: css animate border 
Css :: how to stretch picture with website css 
Css :: how to set a div size to full screen 
Css :: css vw scrollbar 
Css :: css round element 
Css :: css background properties 
Css :: how to view downloading speed 
Css :: grid-template-areas css 
Css :: css background 
Css :: kill docker by image name 
Css :: responsive text css 
Css :: how to use purgecss with webpack mix laravel 
Css :: how to define global font in css 
Css :: circle css 
Css :: Link design like a Button" 
Css :: css wrap 
Css :: menu always center css 
Css :: tailwind css responsive table 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =