CSS property: -webkit-mask

Description

Defines a variety of mask properties within one declaration.

As with most composite properties, all arguments are optional.

Syntax

-webkit-mask: <attachment>, <clip>, <origin>, <image>, <repeat>, <composite>, <box_image>;

Values

<attachment>

Defines the scrolling or fixed nature of the image mask. See -webkit-mask-attachment.

<clip>

Specifies whether the mask should extend into the border of a box. See -webkit-mask-clip.

<origin>

Determines where the -webkit-mask-position property is anchored. See -webkit-mask-origin.

<image>

Defines an image to be used as a mask for an element. See -webkit-mask-image.

<repeat>

Defines the repeating qualities of a mask. See -webkit-mask-repeat.

<composite>

Sets a compositing style for a mask. See -webkit-mask-composite.

<box_image>

See -webkit-mask-box-image for details.

Versions