Last active
December 6, 2019 12:20
-
-
Save charisTheo/f01de47ae1345ccc6647257d5202afc1 to your computer and use it in GitHub Desktop.
Scroll bar custom CSS styles for Chrome
This file contains hidden or 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: 5px; | |
| height: 5px; | |
| opacity: 0.35; | |
| -webkit-transition: all 0.35s; | |
| -moz-transition: all 0.35s; | |
| -ms-transition: all 0.35s; | |
| -o-transition: all 0.35s; | |
| transition: all 0.35s; | |
| } | |
| *::-webkit-scrollbar:hover { | |
| width: 10px; | |
| opacity: 1; | |
| } | |
| *::-webkit-scrollbar:hover *::-webkit-scrollbar-thumb { | |
| background: #aa00ff; | |
| } | |
| *::-webkit-scrollbar-track { | |
| background-color: #151515; | |
| } | |
| *::-webkit-scrollbar-thumb { | |
| background: #aa00ff; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment