Created
May 3, 2021 14:53
-
-
Save oilvier/8c9f347569c4a1dafa5a30c875eb170f to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
@mixin custom-scrollbars { | |
scrollbar-width: thin; | |
scrollbar-color: grey red; | |
&::-webkit-scrollbar{ | |
width: 4px; | |
} | |
&::-webkit-scrollbar-track{ | |
background-color: red; | |
} | |
&::-webkit-scrollbar-thumb { | |
border-radius: 3px; | |
background: grey; | |
border: 3px solid red; | |
} | |
} | |
body { | |
@include custom-scrollbars; | |
height: 2000px; | |
} |
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
<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 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: grey red; | |
height: 2000px; | |
} | |
body::-webkit-scrollbar { | |
width: 4px; | |
} | |
body::-webkit-scrollbar-track { | |
background-color: red; | |
} | |
body::-webkit-scrollbar-thumb { | |
border-radius: 3px; | |
background: grey; | |
border: 3px solid red; | |
} |
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
{ | |
"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