CSS · Properties — CSS Masking
mask-border-mode
The CSS mask-border-mode property. Initial value: alpha. Not inherited.
Syntax
mask-border-mode: luminance | alphaExample
Try it
Notes
Media: visual. Applies to: allElementsSVGContainerElements. Computed value: asSpecified.
More in this group
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.