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

mask-border-mode

Description

The mask-border-mode property for CSS indicates whether the <image> value for mask-border-source is treated as luminance mask or alpha mask.

Syntax

CSS

mask-border-mode: value;

JS

object.style.maskBorderMode = "value";

Values

<'mask-border-mode'> = 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

alpha

Examples

1 · alpha

2 · luminance

3 · JS