CSS Masking is a CSS module that defines means, including masking and clipping, for partially or fully hiding portions of visual elements.
Specification | Status | Comment |
---|---|---|
CSS Masking Module Level 1 | Candidate Recommendation | |
Scalable Vector Graphics (SVG) 1.1 (Second Edition) The definition of 'mask' in that specification. | Recommendation | Initial definition |
mask
propertyDesktop | ||||||
---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
Basic support | 1
|
12 | Yes
|
No | Partial
|
4
|
Applies to HTML elements | Yes
|
? | 3.5 | No | Yes
|
No |
Shorthand for mask-* properties |
Yes
|
? | 53 | No | Yes
|
No |
Mobile | |||||||
---|---|---|---|---|---|---|---|
Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
Basic support | 2
|
? | Yes | Yes | ? | 3.2
|
? |
Applies to HTML elements | ? | ? | ? | ? | ? | ? | ? |
Shorthand for mask-* properties |
? | ? | ? | 53 | ? | ? | ? |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Masking