mask-border-repeat
Determines how the edges and corners of the mask border image are repeated or stretched to fill the mask area.
It is documented as part of the CSS Masking specification.
Syntax
/* Usage Example */
.masked-element {
mask-border-source: url(';mask-edge.png');
/* Repeats the mask image edges to fill the border */
mask-border-repeat: repeat;
}
/* Syntax */
mask-border-repeat: stretch;
mask-border-repeat: repeat;
mask-border-repeat: round;
mask-border-repeat: space;
/* Global values */
mask-border-repeat: inherit;
mask-border-repeat: initial;
mask-border-repeat: revert;
mask-border-repeat: revert-layer;
mask-border-repeat: unset;
mask-border-repeat Browser support
Widely available
Since
2015 92% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.
1+
17.2+
79+