Last active
July 4, 2023 07:37
-
-
Save slavkapiyavka/1b75c9b732b75293df9c5937e7b46b6b to your computer and use it in GitHub Desktop.
customizable style scrollbar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--lightsteelblue: hsl(214, 41%, 78%); | |
--steelblue: hsl(207, 44%, 49%); | |
--lightgray: hsl(0, 0%, 83%); | |
} | |
::-webkit-scrollbar { | |
width: 6px; | |
height: 6px; | |
background-color: var(--lightsteelblue); | |
} | |
::-webkit-scrollbar-thumb, | |
::-webkit-scrollbar-corner { | |
background-color: var(--steelblue); | |
} | |
::-webkit-scrollbar-track { | |
-webkit-box-shadow: inset 0 0 6px var(--lightgray); | |
background-color: var(--lightsteelblue); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment