Skip to content

Instantly share code, notes, and snippets.

@jurchiks
Created May 9, 2022 16:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jurchiks/ed72c379532b07be1d9897c909d33199 to your computer and use it in GitHub Desktop.
Save jurchiks/ed72c379532b07be1d9897c909d33199 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
.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;
}
@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: "";
}
{
"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