Last active
July 15, 2020 03:19
-
-
Save eightHundreds/d2ec7e4edf494636f97aeeebb776d161 to your computer and use it in GitHub Desktop.
滚动条
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: 4px; /* 高宽分别对应横竖滚动条的尺寸 */ | |
height: 0; | |
} | |
::-webkit-scrollbar-thumb {/* 滚动条里面小方块 */ | |
border-radius: 2px; | |
background: rgba(0, 0, 0, 0.13); | |
height: 60px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment