![]() |
VOOZH | about |
The mask-position property sets the mask images within the mask positioning area by using the percentage or keywords values. There are always two values of mask-position (horizontal offset and vertical offset). If only one value is specified then the other one is assumed to be 50% or center.
Syntax:
mask-position: Keyword values /* Or */ mask-position: position values /* Or */ mask-position: Multiple values /* Or */ mask-position: Global values
Property values: This property accepts values mentioned above and described below:
Example 1: Below example illustrates the mask-position property using position-values
Output:
Example 2: Below example illustrates the mask-position property using keyword-values
Output:
Browsers Supported: