![]() |
VOOZH | about |
CSS mask-size property sets the size of the mask image on the mask painting area. The mask-size property in CSS is used to specify the size of the mask image applied to an element using CSS masking. It determines the width and height of the mask image, allowing for precise control over its dimensions
Syntax:
mask-size: Keyword values /* Or */ mask-size: One-values /* Or */ mask-size: Two-values /* Or */ mask-size: Multiple-values /* Or */ mask-size: Global values
Property values: This property accepts values mentioned above and described below:
Example 1: Below example illustrates the mask-size property using One-values
Output:
Example 2: Below example illustrates the mask-size property using Two-values
Output:
Browsers Supported: