Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @mixin scrollbar($width, $color) {
- ::-webkit-scrollbar { width: $width; }
- ::-webkit-scrollbar-track {
- background: $color;
- -webkit-border-radius: 0;
- border-radius: 0;
- }
- ::-webkit-scrollbar-thumb {
- background: darken($color, 30%);
- -webkit-border-radius: 0;
- border-radius: 0;
- }
- ::-webkit-scrollbar-thumb:window-inactive { background: darken($color, 30%); }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement