font-display & FOIT vs FOUT Playground

Change font-display and toggle preload, watch text go invisible (FOIT) or swap (FOUT) live. An interactive font-display & FOIT vs FOUT playground: change the…

Why it matters

On a slow connection the wrong font-display hides text for 3 seconds and visitors think the page is broken. Wrong the other way, content jumps when the font comes in, CLS rises and people mis-click. Knowing the block and swap periods, plus size-adjust, keeps your page quick to read and still.

The key idea

font-display trades invisible text for a jump

Common mistakes

Try it in this playground