Menu Riverview Church

MASK-POSITION

The mask-position property specifies the initial position of the mask image.

SYNTAX

CSS

mask-position: value;

JS

object.style.maskPosition = "value";

VALUES

<'mask-position'> = <position>#
<position> = [ [ left | center | right ] || [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]? | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ]
left

Left.

center

Center.

right

Right.

top

Top.

bottom

Bottom.

<length-percentage> = [ <length> | <percentage> ]
<length>

Specifies the length using a number followed by a unit of measurement.

<percentage>

Specifies the percentage using a number followed by a percent sign (%).

INITIAL

0% 0%

EXAMPLES

BOTTOM

CENTER

LEFT

LENGTH

PERCENTAGE

RIGHT

TOP

JS

INTERNAL

mask

mask-clip

mask-composite

mask-image

mask-mode

mask-origin

mask-repeat

mask-size

mask-type

EXTERNAL

World Wide Web Consortium (W3C)