Created
May 6, 2014 12:32
-
-
Save og2t/11560605 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// 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; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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