CSS mask-position Property Reference

The CSS mask-position property is a standard property in CSS Masking. Review its formal syntax, computed behavior, and practical declarations.

CSS mask-position Property Reference

The CSS mask-position property is a standard property in CSS Masking. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

mask-position overview

The CSS mask-position property is a standard property in CSS Masking. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

mask-position formal syntax
FieldValue
Formal syntax<position>#
Initial value0% 0%
Applies toallElementsSVGContainerElements
InheritedNo
PercentagesreferToSizeOfMaskPaintingArea
Computed valueconsistsOfTwoKeywordsForOriginAndOffsets
Animation typerepeatableList
Mediavisual
Specification groupCSS Masking
StatusStandard

Practical examples

These declarations demonstrate valid ways to set mask-position. The initial and inherit global keywords remain available even when a property-specific value is preferable.

mask-position live example
CSS .reset-example { mask-position: initial; } .inherit-example { mask-position: inherit; } @supports (mask-position: initial) { .supported { mask-position: initial; } }

Description

The CSS mask-position property is a standard property in CSS Masking. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: mask-position
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies