# Fluid Type and Spacing with clamp()

clamp() keeps a size between a minimum and a maximum and lets it grow smoothly in between, so headings and spacing fit a phone and a wide screen without a single breakpoint, while still following the reader's zoom.

![Cheat sheet: Fluid Type and Spacing with clamp()](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/10/1b9e7bdf505e4b9599b3959ad5d8a172.webp)

- Category: CSS
- Level: Journeyman
- Tags: clamp(), CSS, Fluid typography
- Updated: November 1, 2026

Source: https://www.ask-codey.com/cheat-sheets/css-clamp-fluid-type-cheat-sheet
