CSS mask-size Property
The CSS mask-size property specifies the size of the mask image on the mask painting area.
Syntax
Property Values
Value
|
Description
|
auto
|
This is the default setting.
|
size
|
Specifies the size of the mask image in pixels, em, and so on, or in percentage.
|
contain
|
Scales the mask image so that its width and height both fit inside the container.
|
cover
|
Scales the mask image so that it covers the container in both width and height.
|
initial
|
This property is set to its default value.
|
inherit
|
This property is inherited from its parent element.
|
Supported Browsers
Property
|
Chrome
|
Firefox
|
Safari
|
Edge / IE
|
Opera
|
mask-image
|
4.0 -webkit-
|
53.0
|
4.0 -webkit-
|
79.0 -webkit-
|
15.0 -webkit-
|