I want to have a horizontal scroll without seeing the scrollbar. So I tried multiple things, such as the solution provided below.
Hide scroll bar, but still being able to scroll
What I have now:
nav {
display: inline;
white-space: nowrap;
width: 100%;
height: 100%;
min-width: 75em;
overflow-y: hidden;
overflow-x: hidden;
.overflow_wrap {
overflow-x: scroll;
overflow-y: hidden;
-ms-overflow-style: none;
width: 100%;
height: 100%;
height: auto;
text-align: center;
float: left;
background-color: $white;
border-bottom: 1px solid $third_fontcolor;
&::-webkit-scrollbar {
width: 0 !important;
display: none;
background: transparent;
}
}
}
I'm able to scroll horizontally but I still see the scrollbar in other browsers then Chrome. Is there a way to fix this? I saw multiple solutions for vertical scrolling without seeing the scrollbar, but not for horizontal. I'm probably missing something.