content-box
Native CSS preview (actual size, locally scrollable)
Scaled schematic (not actual pixel size)
| content-box | W (px) | H (px) |
|---|
GLOSSQUOTE LABS · BOX GEOMETRY
The same ten numbers, two sizing models. Understand declared dimensions and occupied space.
Default example: compare space in both sizing modes.
| content-box | W (px) | H (px) |
|---|
| border-box | W (px) | H (px) |
|---|
content-box: declared dimensions size content, with padding and borders added outside. border-box: subtract padding and borders from the declared size, but content cannot be negative. If they exceed the declared dimension, the actual border box is still larger. Tables use exact hundredth-pixel integers; browser layout requires independent measurement.
The native box is an empty div without text, minimum size or transforms. Dark solid lines are borders, pale green is padding background, and blue is content background; tables and schematic labels also identify layers without color. The largest native box is 840×840 px and scrolls locally rather than shrinking. Only the schematic scales uniformly.
Synthetic numeric input only; no upload, storage, URL state, telemetry or Clipboard API. Language switching preserves raw/state; reload restores defaults. No other-site diagnosis, margin, percentage sizing, flex/grid or arbitrary CSS.