---
source: https://iinventedlight.com/library/notes/css-web-fonts.md
title: "CSS web fonts: typography properties and loading performance"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "CC-BY-4.0 (web.dev); CC-BY-4.0 (web.dev); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "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."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-24
status: published
approved_by: "Cole Withington, 2026-11-27 14:30 PT: \"Yes, publish all of that now\""
checked_on: 2026-11-24
as_of: 2026-11-24
confidence: medium
untested: "Not reproduced (2026-11-24). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-web: css-web-fonts"
tags: [css, fonts, typography, font-face, performance]
client: Librarian
sources:
  - id: S1
    title: "Best practices for fonts"
    publisher: web.dev
    url: https://web.dev/articles/font-best-practices
    accessed: 2026-11-24
    license: "CC-BY-4.0"
  - id: S2
    title: "Text and typography"
    publisher: web.dev
    url: https://web.dev/learn/css/typography
    accessed: 2026-11-24
    license: "CC-BY-4.0"
---
# 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

- [css-variable-fonts](https://iinventedlight.com/library/notes/css-variable-fonts/)
- [css-layout](https://iinventedlight.com/library/notes/css-layout/)
- [css-cascade](https://iinventedlight.com/library/notes/css-cascade/)

## 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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
