mask-type

The mask-type CSS property sets whether an SVG element is used as a luminance or an alpha mask. It applies to the element itself.

Initial value luminance
Applies to elements

Syntax

  
mask-type: alpha;
  

Values

Is a keyword indicating that the associated mask image is a luminance mask, i.e., that its relative luminance values must be used when applying it.
Is a keyword indicating that the associated mask image is an alpha mask, i.e., that its alpha channel values must be used when applying it.

Browser support

mask-typechrome24edge79firefox35ieopera15safari6.1

We use cookies to improve your experience. Learn more in our Privacy policy.

×