Skip to content

Instantly share code, notes, and snippets.

@andrewgrewell
Last active August 29, 2015 14:14
Show Gist options
  • Save andrewgrewell/5ca22e8e6c72e27c76b9 to your computer and use it in GitHub Desktop.
Save andrewgrewell/5ca22e8e6c72e27c76b9 to your computer and use it in GitHub Desktop.
Variable Font Icon Mixin
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// ----
@mixin variable-icon-font($icon-code) {
content: #{"\"\\"}#{$icon-code + "\""};
}
.icon {
@include variable-icon-font(e603)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment