Created
May 9, 2022 16:41
-
-
Save jurchiks/ed72c379532b07be1d9897c909d33199 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"; } | |
.some-other-element { | |
@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, .some-other-element:before, .some-other-element { | |
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, .some-other-element:before, .some-other-element { | |
content: ""; | |
} | |
.icon-arrow-left:before, .icon-arrow-left.some-other-element { | |
content: ""; | |
} | |
.icon-arrow-right:before, .icon-arrow-right.some-other-element { | |
content: ""; | |
} | |
.icon-arrow-top:before, .icon-arrow-top.some-other-element { | |
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