CSS mask-image property
Browser support · legacy reference
ChromePartial support
SafariPartial support
FirefoxPartial support
Internet ExplorerNot supported
EdgeNot supported
OperaPartial support
Description
CSS mask-image property adds an image as the mask of an element.
We will apply mask to a green box in the demo.
Syntax
mask-image : none | image
Property values
Applicable to
It applies to all elements