Skip to content
BENIBIX Learn

Font Fallback

Design🔤 TypographyType Selection

Also known as Fallback Font, Backup Font, Font Stack

The backup font a page shows when its first font is missing or slow.

Think of it like

It is like a backup player on a team. If the star cannot play, the next one steps in.

Example

A blog asks for Lora, then Georgia, then any serif. On a slow phone, Georgia shows first. Lora swaps in a moment later.

Why it matters

Without a fallback, text can show blank or in a random font while the page loads.

Definition

A font fallback is the backup font a page uses when its first choice is missing or still loading. In CSS you list fonts in order, and end with a general kind like serif. The browser uses the first one it can. A web font can show a fallback while it loads, then swap in when it is ready. A fallback close in size stops the lines from jumping at the swap.

Example code

css
body {
  font-family: "Lora", Georgia, serif;
}
Try the web font first, then Georgia, then any serif font the device has.
While the web font loads, the fallback shows the text. Then the two swap.

Common mistake

Picking a fallback of a very different size. The lines jump and wrap again when the real font arrives.

Key takeaways

  1. 1
    List in order. First choice first, backups after.
  2. 2
    End with a kind. Like serif or sans-serif.
  3. 3
    Match the size. So nothing jumps at the swap.

Learn it properly