Created
April 1, 2022 09:26
-
-
Save WinterSilence/dde4e43f52f20a2dfb3375ffa70a008c 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
@import "normalize"; | |
.btn, %btn { | |
box-sizing: border-box; | |
border: 1px gray solid; | |
border-radius: .25rem; | |
padding: .5rem 1rem; | |
} | |
.text-white, %text-white { | |
color: #fff; | |
} | |
.bg-danger, %bg-dander { | |
background-color: #dc3545; | |
} | |
.btn-danger { | |
@extend %btn; | |
@extend %text-white; | |
@extend %bg-dander; | |
} | |
.btn-cyan { | |
@extend %btn; | |
@extend %text-white; | |
background-color: #0aa2c0; | |
border-color: darken(#0aa2c0, 15); | |
} |
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
.btn, .btn-cyan, .btn-danger { | |
box-sizing: border-box; | |
border: 1px gray solid; | |
border-radius: 0.25rem; | |
padding: 0.5rem 1rem; | |
} | |
.text-white, .btn-cyan, .btn-danger { | |
color: #fff; | |
} | |
.bg-danger, .btn-danger { | |
background-color: #dc3545; | |
} | |
.btn-cyan { | |
background-color: #0aa2c0; | |
border-color: #066577; | |
} |
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": "dart-sass/1.32.12", | |
"extensions": {}, | |
"syntax": "SCSS", | |
"outputStyle": "expanded" | |
}, | |
"autoprefixer": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What's the % do?