Typekit font loading

By John Balnaves, Developer

Typekit fonts load after the page which causes an unsightly font render which looks very unprofessional.

Luckily enough Typekit adds a class to <html> which is only added for a split second before the fonts have loaded. Once they have loaded the class is removed again.

The class is: wf-loading

Add this to your CSS:

.wf-loading {
    visibility: hidden;

This will hide the entire page for that split second. The page will then display without seeing all that ugliness.

About north street

We engineer the thoughtful transformation of great organizations. Our proven process helps us understand what your competitors are doing right — and wrong. Want to learn more? Let’s chat.

More Notes

How to Give Helpful Design Feedback

Team Spotlight: Diego Echeverria, Developer

Faster Website Launches. Better Results.