Skip to content

Instantly share code, notes, and snippets.

@adamstac
Last active December 14, 2015 07:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save adamstac/5049073 to your computer and use it in GitHub Desktop.
Save adamstac/5049073 to your computer and use it in GitHub Desktop.
Prevents Typekit FOUT by setting visibility: hidden; on the class .wf-loading while fonts are loading
// Typekit FOUT
//------------------------------------------------
// References:
// 1. http://blog.typekit.com/2010/10/29/font-events-controlling-the-fout/
//
.wf-loading {
visibility: hidden;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment