Skip to content

Instantly share code, notes, and snippets.

@jurchiks
Created May 9, 2022 16:51
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/2c741027d4bc0979b662a48583a50536 to your computer and use it in GitHub Desktop.
Save jurchiks/2c741027d4bc0979b662a48583a50536 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"; }
.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;
}
@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: "";
}
{
"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