CSS -webkit-mask Property Reference

The CSS -webkit-mask property is a nonstandard property in WebKit Extensions. Review its formal syntax, computed behavior, and practical declarations.

CSS -webkit-mask Property Reference

The CSS -webkit-mask property is a nonstandard property in WebKit Extensions. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

-webkit-mask overview

The CSS -webkit-mask property is a nonstandard property in WebKit Extensions. 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

-webkit-mask formal syntax
FieldValue
Formal syntax[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <visual-box> | border | padding | content | text ] || [ <visual-box> | border | padding | content ] ]#
Initial value-webkit-mask-image, -webkit-mask-repeat, -webkit-mask-attachment, -webkit-mask-position, -webkit-mask-origin, -webkit-mask-clip
Applies toallElements
InheritedNo
Percentagesno
Computed value-webkit-mask-image, -webkit-mask-repeat, -webkit-mask-attachment, -webkit-mask-position, -webkit-mask-origin, -webkit-mask-clip
Animation typediscrete
Mediavisual
Specification groupWebKit Extensions
StatusNonstandard

Practical examples

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

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

Description

The CSS -webkit-mask property is a nonstandard property in WebKit Extensions. Review its formal syntax, computed behavior, and practical declarations.

References

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

Similar or alternative tools

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