---
id: "margin-trim"
kind: "web-feature"
canonical: "https://timetostable.com/feature/margin-trim"
baseline: "limited"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# margin-trim (`margin-trim`)

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

- **Group**: CSS
- **Baseline**: Limited Availability
- **Specification**: https://drafts.csswg.org/css-box-4/#margin-trim
- **Constituent BCD keys**: 8

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Safari | 16.4 | 2023-03-27 |
| Safari on iOS | 16.4 | 2023-03-27 |

