mask-clip
Widely availableSince 202397% of users
Determines which area of the element (border, padding or content box) the mask should actually apply to. It works similarly to 'background-clip'.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyModernIn every major browser since December 2023. Widely available since June 2026.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
border-box- Inherited
- No
- Applies to
- all elements and SVG container elements
- Animation type
- discrete
Quick example
.masked-element {
/* Restricts the mask to the content area only */
mask-clip: content-box;
}Values
no-clipmask-clip browser support
BaselineWidely availableThis feature is well established and works across many devices and browser versions. It has been available across browsers since 2023.Safe to use without fallbacks.
Usage97%of people can use this3% use a browser without it.
Browsers
120+
53+
15.4+
120+Mobile
120+Android
53+Android
15.4+iOS