Created
May 9, 2022 16:51
-
-
Save jurchiks/2c741027d4bc0979b662a48583a50536 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
.icon:before { | |
font-family: "your-font-name"; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
font-style: normal; | |
font-variant: normal; | |
font-weight: normal; | |
text-decoration: none; | |
text-transform: none; | |
} | |
.icon-arrow-down:before { content: "\E001"; } | |
.icon-arrow-left:before { content: "\E002"; } | |
.icon-arrow-right:before { content: "\E003"; } | |
.icon-arrow-top:before { content: "\E004"; } | |
.foo { | |
@extend .icon, :before; | |
@extend .icon-arrow-down, :before; | |
} | |
.bar:before { | |
@extend .icon, :before; | |
@extend .icon-arrow-down, :before; | |
} | |
.qux:after { | |
@extend .icon, :before; | |
@extend .icon-arrow-down, :before; | |
} |
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
@charset "UTF-8"; | |
.icon:before, .icon.qux:after, .bar:before, .bar.qux:after, .bar.foo, .foo:before, .foo.qux:after, .foo { | |
font-family: "your-font-name"; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
font-style: normal; | |
font-variant: normal; | |
font-weight: normal; | |
text-decoration: none; | |
text-transform: none; | |
} | |
.icon-arrow-down:before, .qux:after, .bar:before, .foo:before, .foo.bar, .foo { | |
content: ""; | |
} | |
.icon-arrow-left:before, .icon-arrow-left.qux:after, .icon-arrow-left.foo { | |
content: ""; | |
} | |
.icon-arrow-right:before, .icon-arrow-right.qux:after, .icon-arrow-right.foo { | |
content: ""; | |
} | |
.icon-arrow-top:before, .icon-arrow-top.qux:after, .icon-arrow-top.foo { | |
content: ""; | |
} |
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": "dart-sass/1.32.12", | |
"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