Skip to content

Instantly share code, notes, and snippets.

@johnvsc
Last active December 22, 2015 02:48
Show Gist options
  • Save johnvsc/6405593 to your computer and use it in GitHub Desktop.
Save johnvsc/6405593 to your computer and use it in GitHub Desktop.
Bullet Proof @font-fact implementation
/* replace __name__ with the name of the font file*/
src: url('../fonts/__name__/__name__.eot'); /* IE8 */
src:
local('?'),
url('../fonts/__name__/__name__.woff') format('woff');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment