Created
May 3, 2021 14:56
-
-
Save oilvier/1a0d8fee30ddd48539fc7af5305ca6b2 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
@mixin custom-scrollbars { | |
scrollbar-width: thin; | |
scrollbar-color: blue orange; | |
/* Works on Chrome, Edge, and Safari */ | |
&::-webkit-scrollbar { | |
width: 12px; | |
} | |
&::-webkit-scrollbar-track { | |
background: orange; | |
} | |
&::-webkit-scrollbar-thumb { | |
background-color: blue; | |
border-radius: 20px; | |
border: 3px solid orange; | |
} | |
} | |
body { | |
@include custom-scrollbars; | |
height: 2000px; | |
} |
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
<ul> | |
<li class="foo">lorem ipsum</li> | |
<li class="foo __bar">lorem ipsum</li> | |
<li class="foo __bar baz">lorem ipsum</li> | |
</ul> | |
<ul> | |
<li class="foo2">lorem ipsum</li> | |
<li class="foo2--bar">lorem ipsum</li> | |
<li class="foo2 foo2--bar baz2">lorem ipsum</li> | |
</ul> |
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
body { | |
scrollbar-width: thin; | |
scrollbar-color: blue orange; | |
/* Works on Chrome, Edge, and Safari */ | |
height: 2000px; | |
} | |
body::-webkit-scrollbar { | |
width: 12px; | |
} | |
body::-webkit-scrollbar-track { | |
background: orange; | |
} | |
body::-webkit-scrollbar-thumb { | |
background-color: blue; | |
border-radius: 20px; | |
border: 3px solid orange; | |
} |
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
{ | |
"sass": { | |
"compiler": "libsass/3.5.5", | |
"extensions": {}, | |
"syntax": "SCSS", | |
"outputStyle": "expanded" | |
}, | |
"autoprefixer": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment