CSS mask-composite Property Reference

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

CSS mask-composite Property Reference

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

Updated 2026-08-12

mask-composite overview

The CSS mask-composite 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-composite formal syntax
FieldValue
Formal syntax<compositing-operator>#
Initial valueadd
Applies toallElementsSVGContainerElements
InheritedNo
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupCSS Masking
StatusStandard

Practical examples

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

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

Description

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

References

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

Similar or alternative tools

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