Last active
August 10, 2021 13:11
-
-
Save luoling8192/2736eca12af6d2c384e6272eccea956f to your computer and use it in GitHub Desktop.
Stylus - 全局滚动条美化
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: 6px; | |
height: 6px; | |
background-color: #F5F5F5; | |
} | |
::-webkit-scrollbar-track{ | |
-webkit-box-shadow: 0 0 3px rgba(0,0,0,0.3) inset; | |
background-color: #F5F5F5; | |
} | |
::-webkit-scrollbar-thumb{ | |
border-radius: 3px; | |
-webkit-box-shadow: none !important; | |
} | |
::-webkit-scrollbar-thumb { | |
background-color: #999999 !important; | |
background-image: none !important; | |
} | |
::-webkit-scrollbar-thumb:hover { | |
background-color: #DD5E89 !important; | |
} | |
::selection { | |
background:#d3d3d3; | |
color:#555; | |
} | |
::-moz-selection { | |
background:#d3d3d3; | |
color:#555; | |
} | |
::-webkit-selection { | |
background:#d3d3d3; | |
color:#555; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment