Created
July 2, 2022 17:32
-
-
Save bulbul84/a042dc61486e742eef404ea5318841b0 to your computer and use it in GitHub Desktop.
custom scrollbar style
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
html::-webkit-scrollbar-track { | |
background: linear-gradient(90deg,#434343,#434343 1px,#111 0,#111); | |
} | |
html::-webkit-scrollbar-thumb { | |
background: #434343; | |
border-radius: 16px; | |
box-shadow: inset 2px 2px 2px hsl(0deg 0% 100% / 25%), inset -2px -2px 2px rgb(0 0 0 / 25%); | |
} | |
html::-webkit-scrollbar { | |
width: 16px; | |
height: 16px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment