CSS mask size Property
CSS mask-size Property
The mask-size property is used to define the size of the mask layer image.
Its default value is auto.
Its syntax is:- mask-image: auto | size | contain | cover | initial | inherit;
|auto||This is default|
|size||Specifies the size of the mask image in px, em, etc.|
|contain||Scales the mask image in a way that both its width and its height fit inside the container|
|cover||Scales the mask image in a way that both its width and its height cover the container|
|initial||Sets this property to its default value.|
|inherit||Inherits this property from its parent element.|