Type utilities are designed to work in combination with line-height utilities so as to result in more sensible numbers wherever possible. These also exist as [variables](/support/typography#typography-variables) that you can use in components or custom CSS.
| Scale | Font size: mobile | Font size: desktop | 1.25 line height | 1.5 line height |
| --- | --- | --- | --- | --- |
| 00 | 40px | 48px | 60 | 72 |
| 0 | 32px | 40px | 50 | 60 |
| 1 | 26px | 32px | 40 | 48 |
| 2 | 22px | 24px | 30 | 36 |
| 3 | 18px | 20px | 25 | 30 |
| 4 | 16px | 16px | 20 | 24 |
| 5 | 14px | 14px | 17.5 | 21 |
| 6 | 12px | 12px | 15 | 18 |
## Heading utilities
Use `.h1`–`.h6` to change an elements font size and weight to match our heading styles.
```html live
<pclass="h1">Pizza 1</p>
<pclass="h2">Pizza 2</p>
<pclass="h3">Pizza 3</p>
<pclass="h4">Pizza 4</p>
<pclass="h5">Pizza 5</p>
<pclass="h6">Pizza 6</p>
```
These are particularly useful for changing the visual appearance while keeping the markup semantically correct. Be sure you keep the hierarchy appropriate for the page.
```html live
<h2class="h1">Looks like a heading 1, semantically a heading 2</h2>
```
## Type scale utilities
Use `.f1`–`.f6` to change an elements font size while keeping inline with our type scale.
```html live
<pclass="f1">Focaccia</p>
<pclass="f2">Focaccia</p>
<pclass="f3">Focaccia</p>
<pclass="f4">Focaccia</p>
<pclass="f5">Focaccia</p>
<pclass="f6">Focaccia</p>
```
Lighter font-weight utilities are available in a limited range. Lighter font-weights reduce the legibility of text, particularly at small font sizes, so the scale only goes down to `f3` at 20px. The larger sizes`f0` and `f00` allow for lighter and larger type that is in keeping with our marketing styles.
The `lh-0` utility class sets `line-height: 0 !important`, and can be used to remove vertical spacing from elements that inherit line-height but don't contain any text.
## Typographic styles
Change the font weight, styles, and alignment with these utilities.
1.`wb-break-word` sets `word-break: break-word` and `overflow-wrap: break-word`, which will only break words if they would exceed the line length _after wrapping_.
2.`wb-break-all` sets `word-break: break-all`, which will force a word to break regardless of whether it's shorter than the line length. See [MDN's `word-break` docs](https://developer.mozilla.org/en-US/docs/Web/CSS/word-break#Values) for more info.
<pclass="wb-break-word p-2 color-bg-subtle col-3 border-right">.wb-break-word will only break long words that exceed the line length, such as supercalifragilisticexpialidocious. Long words like "exceedingly" will simply break to the next line.</p>
<pclass="wb-break-all p-2 color-bg-subtle col-3 border-right">.wb-break-all will break any word that meets the end its line, and should be used sparingly. As you can see here, it's not particularly nice to read text that breaks in weird places.</p>