Skip to content

Instantly share code, notes, and snippets.

@vladyn
Forked from dinocarl/SassMeister-input.scss
Created December 7, 2019 12:16
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 vladyn/f121310f63254ff1e061705af2212b9e to your computer and use it in GitHub Desktop.
Save vladyn/f121310f63254ff1e061705af2212b9e to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.4)
// Compass (v1.0.1)
// ----
@mixin icon ($name, $code) {
$withslash: "\"\\#{$code}\"";
.#{$name}:before {
content: unquote($withslash);
}
}
@include icon('test', '4556');
.test:before {
content: "\4556";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment