CSS web fonts: typography properties and loading performance
Answer: Optimize web fonts for Core Web Vitals.
Loading and rendering
If a web font has not loaded, browsers typically delay text rendering.
You can also load font with the preload resource hint and the Font Loading API.
In many situations, this delays First Contentful Paint (FCP).
The practice of font swapping has the potential to cause layout shifts.
In some situations, this delays Largest Contentful Paint (LCP).
Those shifts also impact Cumulative Layout Shift (CLS).
They occur when a web font and its fallback font take up different amounts of space.
Typography properties
The @font-face rule lets you import custom fonts into your webpages.
This ensures the typography you need, independent of user-installed fonts.
Essential CSS font properties include font-family, font-style, font-weight, and font-size.
Paragraph properties such as text-indent and word-spacing are covered later in the same module.
See also
Claims
- id: C1 claim: If a web font has not loaded, browsers typically delay text rendering. source: S1 evidence: "If a web font has not loaded, browsers typically delay text rendering"
- id: C2 claim: Font swapping can cause layout shifts when fallback metrics differ. source: S1 evidence: "font swapping has the potential to cause layout shifts"
- id: C3 claim: The font face rule lets you import custom fonts into your pages. source: S2 evidence: "lets you import custom fonts into your webpages"
- id: C4 claim: Family, style, weight, and size are essential font properties. source: S2 evidence: "essential CSS font properties including"
Sources
- [S1] Best practices for fonts. web.dev. https://web.dev/articles/font-best-practices . License: CC-BY-4.0. Accessed 2026-11-24.
- [S2] Text and typography. web.dev. https://web.dev/learn/css/typography . License: CC-BY-4.0. Accessed 2026-11-24.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: web.dev, Best practices for fonts; web.dev, Text and typography. CC-BY-4.0 (https://web.dev/learn/css/flexbox). Copyright Google LLC. web.dev text is CC BY 4.0. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: web.dev, Best practices for fonts; web.dev, Text and typography. CC-BY-4.0 (https://web.dev/learn/css/flexbox). Copyright Google LLC. web.dev text is CC BY 4.0.
Cite this
iinventedlight. 2026. "CSS web fonts: typography properties and loading performance." iinventedlight Library, iil:note:c0cxmb95, version of 2026-11-24. https://iinventedlight.com/library/notes/css-web-fonts/. License: CC-BY-4.0.
@misc{iil_note_c0cxmb95,
author = {{iinventedlight}},
title = {{CSS web fonts: typography properties and loading performance}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-24},
url = {https://iinventedlight.com/library/notes/css-web-fonts/},
note = {Permanent ID iil:note:c0cxmb95. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- css-web-fonts.schema.json (schema; CC-BY-4.0)
- css-web-fonts.table.json (table; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/css-web-fonts.md.