Skip to content

Instantly share code, notes, and snippets.

@og2t
Created May 6, 2014 12:32
Show Gist options
  • Save og2t/11560605 to your computer and use it in GitHub Desktop.
Save og2t/11560605 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.6)
// Compass (v1.0.0.alpha.18)
// ----
$account-icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0nYxMnoiLz48L3N2Zz4=";
$accounts-icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iDE5IDIwIjL3N2Zz4=";
$icons: (
account-icon: $account-icon,
accounts-icon: $accounts-icon
);
@each $name, $datauri in $icons {
%#{$name} {
background-image: url($datauri);
}
}
.item-1 {
@extend %account-icon;
}
.item-2 {
@extend %account-icon;
}
.item-3 {
@extend %account-icon;
}
.item-4 {
@extend %accounts-icon;
}
.item-1, .item-2, .item-3 {
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0nYxMnoiLz48L3N2Zz4=");
}
.item-4 {
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iDE5IDIwIjL3N2Zz4=");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment