Last active
December 14, 2015 07:18
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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