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

Photo of Tom Conlon

CEO Tom Conlon in Conversation with Chris White

Designing for Interaction: How Animated Prototypes Revolutionize Website Development

man with arms folded in front of blue city background

Team Spotlight: Cristian Sánchez, Lead Developer