mirror of
https://github.com/romancm/gamebrary
synced 2024-11-23 19:53:14 +00:00
custom scrollbars baby!
This commit is contained in:
parent
7e9d62cee1
commit
3c0088116b
1 changed files with 20 additions and 0 deletions
|
@ -22,3 +22,23 @@
|
|||
.no-scrollbar::-webkit-scrollbar {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue