Skip to content

Instantly share code, notes, and snippets.

@adicahyaludin
Created November 24, 2022 14:32
Show Gist options
  • Save adicahyaludin/4e5a454a3dcb3a889c34ca81b5baa436 to your computer and use it in GitHub Desktop.
Save adicahyaludin/4e5a454a3dcb3a889c34ca81b5baa436 to your computer and use it in GitHub Desktop.
Vertical scrollable element with custom scroll css style
/*
vertical scrollable menu
*/
.tokenz-vertical-scrollable-menu ul::-webkit-scrollbar-thumb {
background-color: darkgrey !important;
outline: 0px solid slategrey !important;
}
.tokenz-vertical-scrollable-menu ul::-webkit-scrollbar-track {
box-shadow: inset 0 0 6px rgb(0 0 0 / 30%) !important;
}
.tokenz-vertical-scrollable-menu ul::-webkit-scrollbar {
width: 1px !important;
height: 3px !important;
}
.tokenz-vertical-scrollable-menu ul {
display: block !important;
overflow: auto !important;
white-space: nowrap !important;
}
.tokenz-vertical-scrollable-menu ul li {
display: inline-block !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment