Skip to content

Instantly share code, notes, and snippets.

@maxkarkowski
Created April 24, 2015 07:42
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 maxkarkowski/ef89151512e74fe2eb11 to your computer and use it in GitHub Desktop.
Save maxkarkowski/ef89151512e74fe2eb11 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
$icon-names: (
user : '\e972',
camera : '\e603',
heart : '\e601',
bubble : '\e96d',
);
%ico-font-base {
font-family: 'icomoon';
font-size: 1.1rem;
}
@each $name, $pua in $icon-names {
.icon-#{$name}:after {
@extend %ico-font-base;
content: $pua;
}
}
.icon-user:after, .icon-camera:after, .icon-heart:after, .icon-bubble:after {
font-family: 'icomoon';
font-size: 1.1rem;
}
.icon-user:after {
content: "\e972";
}
.icon-camera:after {
content: "\e603";
}
.icon-heart:after {
content: "\e601";
}
.icon-bubble:after {
content: "\e96d";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment