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
border115.479
border-box12053120
content115.479
content-box12053120
fill-box12053120
padding115.479
padding-box12053120
stroke-box12053120
view-box12053120

Related Properties