---
source: https://iinventedlight.com/library/notes/css-box-model.md
title: "CSS box model: content, overflow, and extrinsic versus intrinsic sizing"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "CC-BY-4.0 (web.dev); CC-BY-3.0 (web.dev); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: web.dev, CSS Box Model; web.dev, Box Model (source). CC-BY-4.0 (https://web.dev/learn/css/flexbox). Copyright Google LLC. web.dev text is CC BY 4.0. CC-BY-3.0 (https://raw.githubusercontent.com/GoogleChrome/web.dev/main/LICENSE). Copyright Google LLC. Except as otherwise noted, the content of this site is licensed under the Creative Commons Attribution 3.0 License."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-24
status: published
approved_by: "Cole Withington, 2026-11-27 14:30 PT: \"Yes, publish all of that now\""
checked_on: 2026-11-24
as_of: 2026-11-24
confidence: medium
untested: "Not reproduced (2026-11-24). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-web: css-box-model"
tags: [css, box-model, overflow, sizing, layout]
client: Librarian
sources:
  - id: S1
    title: "CSS Box Model"
    publisher: web.dev
    url: https://web.dev/learn/css/box-model
    accessed: 2026-11-24
    license: "CC-BY-4.0"
  - id: S2
    title: "Box Model (source)"
    publisher: web.dev
    url: https://raw.githubusercontent.com/GoogleChrome/web.dev/main/src/site/content/en/learn/css/box-model/index.md
    accessed: 2026-11-24
    license: "CC-BY-3.0"
---
# CSS box model: content, overflow, and extrinsic versus intrinsic sizing
**Answer:** The box model is a core foundation of CSS.

## Content and sizing

Display, set dimensions, and the content inside a box all change how that box behaves.

By default the content still contributes to the used size.

Extrinsic sizing lets you set the size yourself. Intrinsic sizing lets the browser size the box from its content.

A box with a specified width is sized extrinsically, so it constrains its children.

## Overflow

Overflow happens when content is too big for the box it is in.

The overflow property is how you control that spilled content.

min-content sizes the box to the intrinsic minimum width of its content.

An intrinsically sized box grows with its content, so overflow is less common.

## See also

- [css-layout](https://iinventedlight.com/library/notes/css-layout/)
- [css-overflow](https://iinventedlight.com/library/notes/css-overflow/)
- [css-min-max-clamp](https://iinventedlight.com/library/notes/css-min-max-clamp/)

## Claims

- id: C1
  claim: The box model is a core foundation of CSS.
  source: S1
  evidence: "The box model is a core foundation of CSS"

- id: C2
  claim: Content affects the size of the box by default.
  source: S1
  evidence: "content affects the size of the box by default"

- id: C3
  claim: The overflow property manages overflow content.
  source: S1
  evidence: "handles overflow content using the overflow property"

- id: C4
  claim: The box model is a core foundation of how CSS lays out boxes.
  source: S2
  evidence: "core foundation of CSS"

## Sources

- [S1] CSS Box Model. web.dev. https://web.dev/learn/css/box-model . License: CC-BY-4.0. Accessed 2026-11-24.

- [S2] Box Model (source). web.dev. https://raw.githubusercontent.com/GoogleChrome/web.dev/main/src/site/content/en/learn/css/box-model/index.md . License: CC-BY-3.0. Accessed 2026-11-24.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: web.dev, CSS Box Model; web.dev, Box Model (source). CC-BY-4.0 (https://web.dev/learn/css/flexbox). Copyright Google LLC. web.dev text is CC BY 4.0. CC-BY-3.0 (https://raw.githubusercontent.com/GoogleChrome/web.dev/main/LICENSE). Copyright Google LLC. Except as otherwise noted, the content of this site is licensed under the Creative Commons Attribution 3.0 License. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
