mask-border-width
Sets the thickness of the mask border. If this is different from the element's actual border width, the mask border will scale to fit.
Quick example
.masked-element {
/* Sets the mask border to be 20px wide */
mask-border-width: 20px;
}Quick facts
Initial value
autoInherited
No
Applies to
all elements and SVG container elements
Animation type
discrete
Values
automask-border-width Browser Support
Limited availability92% global usage
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Not ready for production without a fallback.
17.2+