Skip to content

Instantly share code, notes, and snippets.


Craig Spence phenomnomnominal

View GitHub Profile
irunatbullets / _super-font-face.scss
Last active Aug 29, 2015
Compass font-face mixin wrapper.
View _super-font-face.scss
// Super Font Face Mixin
// ============================================================================
// If you have a standard set of fonts (i.e. woff, ttf, svg, eot), instead of
// having to list every font file with the Compass font mixin, just use this
// wrapper.
// Usage examples:
// @include super-font-face('Museo Sans', 'MuseoSans_500-webfont');
// @include super-font-face('Museo Sans', 'MuseoSans_700-webfont', bold);