Etymology

box model

Today it means: The set of CSS rules that govern the size, shape, spacing, borders, and margins of web page elements. Full definition →

Ask AI about its historyChatGPTClaudePerplexityGoogle AIGrok

The story

So called because the padding, border, and margin can be visualised as three levels of boxes surrounding an element.

Etymology from Wiktionary, CC BY-SA 4.0.