scrollbar auto hide css code example
Example 1: css hide scrollbar
// Sass Mixing
@mixin hideScrollbar {
&::-webkit-scrollbar {
width: 0 !important
}
-ms-overflow-style: none;
scrollbar-width: none;
}
Example 2: how to hide scrollbar css
body {
overflow-y: hidden; /* Hide vertical scrollbar */
overflow-x: hidden; /* Hide horizontal scrollbar */
}