Web platform features explorer

margin-trim

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

Status

Limited availability

MDN documentation

Browser support