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
Specifications
Browser support
- Chrome ❌ See crbug.com/40886857
- Chrome Android ❌ See crbug.com/40886857
- Edge ❌ See crbug.com/40886857
- Firefox ❌ See bugzil.la/1506241 Vendor position : positive
- Firefox for Android ❌ See bugzil.la/1506241 Vendor position : positive
- Safari 16.4 Released on 2023-03-27
- Safari on iOS 16.4 Released on 2023-03-27
Web Platform Tests (WPT)
View the latest WPT test results for this featureDeveloper 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.
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist