margin-trim
Limited availability
The margin-trim
CSS property removes the margins of child elements when they meet the edges of the container.
Learning resources on MDN
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
Specifications
View web-platform-tests results for this feature - View the feature source file - Edit the feature - Report an issue about this feature