Home Menu

mask-type

The mask-type CSS property defines whether the content of the mask element is treated as as luminance mask or alpha mask.

Syntax

CSS

mask-type: value;

JS

object.style.maskType = "value";

Values

<'mask-type'> = luminance | alpha
luminance

Indicates that the luminance values of the mask should be used.

alpha

Indicates that the alpha values of the mask should be used.

Initial

luminance

Examples

alpha

luminance

JS

Internal

mask

mask-clip

mask-composite

mask-image

mask-mode

mask-origin

mask-position

mask-repeat

mask-size

External

World Wide Web Consortium (W3C)

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms