mask-border-outset
Limited availability94% of users
Defines how much the mask border area extends beyond the element's border box, effectively pushing the mask outwards.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyComingNot in Chrome, Edge or Firefox yet, so not every major browser supports it.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
0- Inherited
- No
- Applies to
- all elements and SVG container elements
- Animation type
- discrete
Quick example
.masked-element {
/* Extends the mask 10px beyond the element edges */
mask-border-outset: 10px;
}mask-border-outset 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.
Usage94%of people can use this6% use a browser without it.
Browsers
17.2+Mobile
17.2+iOS