custom scrollbars baby!

This commit is contained in:
Gamebrary 2021-04-30 14:56:41 -07:00
parent 7e9d62cee1
commit 3c0088116b

View file

@ -22,3 +22,23 @@
.no-scrollbar::-webkit-scrollbar { .no-scrollbar::-webkit-scrollbar {
display: none; display: none;
} }
/* custom scrollbar */
::-webkit-scrollbar {
width: 20px;
}
::-webkit-scrollbar-track {
background-color: $secondary;
}
::-webkit-scrollbar-thumb {
background-color: $dark;
border-radius: 20px;
border: 6px solid $secondary;
background-clip: content-box;
&:hover {
background-color: $light;
}
}