liveBook · Manning

Font-family property

The CSS font-family property specifies a preferred typeface or ordered sequence of fallback typefaces for rendering text.

How 3 Manning books explain it

Web Design Playground

A CSS property that specifies the preferred font family or ordered list of font families for text rendering.

How it is used
Assigns a typeface or fallback family list to text elements.
How deep it goes
Explains generic fonts, system-font syntax, ordered stacks, hosted fonts, and @font-face application without detailing font-file creation.
Examples
Uses h3 and p generic-family rules, a Times New Roman–Georgia–serif stack, Lato hosted-font CSS, and Bree Serif @font-face CSS.
What you can do after
Apply it via CSS to choose generic, installed, hosted, or self-hosted typefaces with sensible fallbacks.

Read how Web Design Playground explains font-family property →

Tiny CSS Projects

The CSS font-family property specifies the typeface or ordered list of typefaces used for text.

How it is used
Sets typefaces for page themes and individual headings, cards, and form fields.
How deep it goes
Explains imported families, generic fallbacks, inheritance, and shorthand through CSS examples; does not examine font-rendering internals.
Examples
Uses a newspaper theme, hotel cards, a checkout cart, and text and email inputs.
What you can do after
Apply it via Google Fonts and CSS to choose families, supply fallbacks, and match form controls to page typography.

Read how Tiny CSS Projects explains font-family property →

Web Design Playground, Second Edition

The CSS font-family property specifies the typeface or sequence of fallback typefaces used to render an element.

How it is used
Sets an element’s typeface and supplies fallbacks for unavailable fonts.
How deep it goes
Explains generic, system, and hosted font choices with CSS rules, naming guidance, and fallback ordering.
Examples
Demonstrates sans-serif headings, serif paragraphs, Verdana div text, an Optima–Calibri stack, and hosted Lato paragraphs.
What you can do after
Apply it via CSS to choose generic, installed, or hosted typefaces with usable fallback stacks.

Read how Web Design Playground, Second Edition explains font-family property →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.