HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

mask-type

Description

The mask-type property for CSS 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

1 · alpha

2 · luminance

3 · JS