css.properties

mask-type

The mask-type property specifies the type of mask.

Formal Syntax

mask-type = luminance | alpha

See specification

JavaScript Access

// Access via element.style element.style.maskType = "luminance";

Browser Support

standard | MDN ยท Spec

FeatureChromeFirefoxSafariEdge
mask-type2435779
alpha2435779
luminance2435779

Related Properties