css.properties

mask-origin

The mask-origin property specifies the origin of a mask.

Formal Syntax

mask-origin = <coord-box># <coord-box> = <paint-box> | view-box

See specification

JavaScript Access

// Access via element.style element.style.maskOrigin = "border-box";

Browser Support

standard | MDN · Spec

FeatureChromeFirefoxSafariEdge
mask-origin1205315.4120
border1—15.479
border-box12053—120
content1—15.479
content-box12053—120
fill-box12053—120
padding1—15.479
padding-box12053—120
stroke-box12053—120
view-box12053—120

Related Properties