liveBook · Manning

Spacing

Spacing is the adjustable empty distance between or around textual, typographic, interface, or layout elements.

How 2 Manning books explain it

Design for Developers

Spacing is the amount and arrangement of empty space between visual elements, including divisions within a grid.

How it is used
Uses empty space to organize interfaces, establish hierarchy, support scanning, and make content more consumable.
How deep it goes
Explains spacing through proximity, focal points, grid gaps, and before-and-after examples, without prescribing measurements or implementation code.
Examples
Uses grid columns, section headings, early cramped websites, a personal website, and tightly packed three-column content components.
What you can do after
Apply spacing to separate components, emphasize focal points, guide scanning, and maintain balance across changing layouts.

Read how Design for Developers explains spacing →

CSS in Depth, Second Edition

Design spacing is the arrangement of empty space between and around interface elements.

How it is used
Establishes visual patterns, hierarchy, and readability through space between interface elements, components, and text.
How deep it goes
Explains measured layouts, margins, relative units, line-height, letter-spacing, and flexbox gap without detailing CSS implementations.
Examples
Uses annotated mockup measurements, navigation buttons, hero content, columns, and text samples with varied spacing.
What you can do after
Apply spacing via CSS margins, relative units, line-height, letter-spacing, and flexbox gap while preserving visual patterns.

Read how CSS in Depth, Second Edition explains spacing →

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.