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

Developer signals

Votes: 8

If you want this feature to be available in all browsers, vote for it by adding a thumbs up reaction (👍) to this GitHub issue, and leave a comment with more information.