mask-origin
Widely availableSince 202397% of users
Defines the 'origin' or starting point of the mask position. It determines where the mask image is placed relative to the element's boxes.
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 {
/* Bases the mask position on the padding box */
mask-origin: padding-box;
}mask-origin 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