Created
March 25, 2024 06:12
-
-
Save livemehere/34c80666d2c3952fe15538f3d6a5df8a to your computer and use it in GitHub Desktop.
Customize scroll bar
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
* { | |
&::-webkit-scrollbar { | |
width: 12px; | |
background:red; | |
} | |
&::-webkit-scrollbar-thumb { | |
background:blue; | |
border-radius: 18px; | |
border: 2px solid transparent; | |
background-clip: padding-box; | |
} | |
} |
Author
livemehere
commented
Mar 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment