maskImage

abstract var maskImage: MaskImage?(source)

The mask-image CSS property sets the image that is used as mask layer for an element. By default this means the alpha channel of the mask image will be multiplied with the alpha channel of the element. This can be controlled with the mask-mode property.

Syntax: <mask-reference>#

Initial value: none

| Chrome  | Firefox |  Safari  | Edge  | IE  |
| :-----: | :-----: | :------: | :---: | :-: |
|   120   |   53    |   15.4   | 16-79 | No  |
|    1′   |         |    4′    |       |     |

See also