overflow-clip-margin
Limited availability81% of users
Works with 'overflow: clip' to allow content to extend slightly beyond the element's box before it is cut off. It's like a 'safe zone' for clipped content.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyComingNot in Chrome, Edge or Safari yet, so not every major browser supports it.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
0px- Inherited
- No
- Applies to
- all elements
- Animation type
- discrete
Quick example
.clipped-box {
overflow: clip;
/* Content can bleed out by 10px before being cut */
overflow-clip-margin: 10px;
}Values
lengthoverflow-clip-margin browser support
BaselineLimited availabilityThis feature is not Baseline because it does not work in some of the most widely-used browsers.Not ready for production without a fallback.
Usage81%of people can use this19% use a browser without it.
Browsers
102+Mobile
102+Android