CSS mask-repeat Property Reference

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

CSS mask-repeat Property Reference

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

Updated 2026-08-12

mask-repeat overview

The CSS mask-repeat 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-repeat formal syntax
FieldValue
Formal syntax<repeat-style>#
Initial valuerepeat
Applies toallElementsSVGContainerElements
InheritedNo
Percentagesno
Computed valueconsistsOfTwoDimensionKeywords
Animation typediscrete
Mediavisual
Specification groupCSS Masking
StatusStandard

Practical examples

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

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

Description

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

References

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

Similar or alternative tools

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