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 votes

Do you need this feature?
Let us know by leaving a 👍 reaction on the feedback issue. Don't forget to also leave a comment explaining your specific use case.