Skip to content

Instantly share code, notes, and snippets.

@mturnwall
Created April 17, 2014 17:02
Show Gist options
  • Save mturnwall/10998169 to your computer and use it in GitHub Desktop.
Save mturnwall/10998169 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.5)
// Compass (v1.0.0.alpha.18)
// ----
$social-icons:
(facebook, \e600, #fff, b, c),
(twitter, \e601),
(pinterest, \e602),
(instagram, \e603),
(email, \e403);
@each $iconName3, $code, $a, $b in $social-icons {
.icon-#{$iconName3}:before {
content: $code;
background: $a;
}
}
.icon-facebook:before {
content: \e600;
background: white;
}
.icon-twitter:before {
content: \e601;
}
.icon-pinterest:before {
content: \e602;
}
.icon-instagram:before {
content: \e603;
}
.icon-email:before {
content: \e403;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment