Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.