Menu Riverview Church

MASK-CLIP

The mask-clip property determines the mask painting area, which determines the area that is affected by the mask.

SYNTAX

CSS

mask-clip: value;

JS

object.style.maskClip = "value";

VALUES

<'mask-clip'> = [ <geometry-box> | no-clip ]#
<geometry-box> = <shape-box> | fill-box | stroke-box | view-box
<shape-box> = <box> | margin-box
<box> = border-box | padding-box | content-box
border-box

Area within the border box.

padding-box

Area within the padding box.

content-box

Area within the content box.

margin-box

Area within the margin box.

fill-box

Uses the object bounding box as a reference box.

stroke-box

Uses the stroke bounding box as a reference box.

view-box

Uses the nearest SVG viewport as a reference box.

no-clip

The painted content is not restricted (not clipped).

INITIAL

border-box

EXAMPLES

BORDER-BOX

CONTENT-BOX

FILL-BOX

MARGIN-BOX

NO-CLIP

PADDING-BOX

STROKE-BOX

VIEW-BOX

JS

INTERNAL

mask

mask-composite

mask-image

mask-mode

mask-origin

mask-position

mask-repeat

mask-size

mask-type

EXTERNAL

World Wide Web Consortium (W3C)