Skip to content Skip to sidebar Skip to footer

Hide Only Horizontal Scrollbar But Still Scroll Code Example


Example 1: css hide scrollbar but allow scroll


html {
overflow: scroll;
}
::-webkit-scrollbar {
width: 0px;
background: transparent; /* make scrollbar transparent */
}

Example 2: hide horizontal scrollbar css


.x-scroll-disabled {
overflow-x: hidden;
}

Post a Comment for "Hide Only Horizontal Scrollbar But Still Scroll Code Example"