CSS · Properties — CSS Masking

mask-border-width

The CSS mask-border-width property. Initial value: auto. Not inherited.

Syntax
mask-border-width: [ <length-percentage> | <number> | auto ]{1,4}

Example

Try it

Notes

Media: visual. Applies to: allElementsSVGContainerElements. Computed value: asSpecifiedRelativeToAbsoluteLengths.

More in this group

clip-path clip-rule mask mask-border mask-border-mode mask-border-outset mask-border-repeat mask-border-slice

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course