# Font Family

> All the fonts of one typeface, kept together. Also the CSS rule that picks one.

**Field:** Design  
**Category:** Typography  
**Also known as:** Type Family, Superfamily

## Think of it like

It is like kids in one home. They look alike, but each one is not the same.

## Definition

A font family is all the fonts that belong to one typeface, kept together. It holds the light, regular, bold and italic versions, and often more. In CSS, the font-family rule also names the typeface to use. You list a few in order. The browser uses the first one it has. The last name is a backup, like serif.

## Example

Emma's site uses one font family, Roboto, in three weights. It looks varied but still unified.

## Example code

```css
body {
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}
```

The browser tries each name in turn. The last one is a general backup.

## Why it matters

One family with many weights gives you range. You get it without the mess of mixing many fonts.

## Common mistake

Leaving out the backup at the end of the CSS list. If the font fails, the browser picks something odd.

## Three principles

- **One typeface, many fonts.** Weights and styles together.
- **A CSS rule too.** It names the typeface to use.
- **End with a backup.** serif, sans-serif or monospace.

## Related terms

- [Typeface](https://learn.benibix.com/term/design/typeface)
- [Font](https://learn.benibix.com/term/design/font)
- [Font Weight](https://learn.benibix.com/term/design/font-weight)
- [Cascading Style Sheets (CSS)](https://learn.benibix.com/term/development/css)

## Taught in

- [Typefaces and Fonts](https://learn.benibix.com/learn/design-typography/typefaces-and-fonts): Typography, 1/17

---

Source: https://learn.benibix.com/term/design/font-family
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
