Limited CSS

margin-trim

The margin-trim CSS property removes the margins of child elements when they meet the edges of the container.

Baseline Status
Limited
Missing ≥1 target
First Core Launch
Safari 16.4
2023-03-27
Core-3 Stability
Limbo (1,340d (3.7y))
Missing: chrome, firefox
BCD Keys Mapped
8
Group: CSS

Browser Support Timeline

Safari v16.4 (2023-03-27) Safari on iOS v16.4 (2023-03-27)
Green dot marks the first browser release (2023-03-27); blue dots show subsequent browser launches (+1d total span).

Browser Support Releases

BrowserTypeVersionRelease Date
Safari desktop 16.4 2023-03-27
Safari on iOS mobile 16.4 2023-03-27

Constituent MDN BCD Keys (Sample)

BCD KeyAreaCore-3 TTA
css.properties.margin-trim CSS 1,340d (3.7y) limbo
css.properties.margin-trim.block CSS 1,340d (3.7y) limbo
css.properties.margin-trim.block-end CSS 1,340d (3.7y) limbo
css.properties.margin-trim.block-start CSS 1,340d (3.7y) limbo
css.properties.margin-trim.inline CSS 1,340d (3.7y) limbo
css.properties.margin-trim.inline-end CSS 1,340d (3.7y) limbo
css.properties.margin-trim.inline-start CSS 1,340d (3.7y) limbo
css.properties.margin-trim.none CSS 1,340d (3.7y) limbo