CSS -webkit-mask-size Property Reference

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

CSS -webkit-mask-size Property Reference

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

Updated 2026-08-12

-webkit-mask-size overview

The CSS -webkit-mask-size 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-size formal syntax
FieldValue
Formal syntax<bg-size>#
Initial valueauto auto
Applies toallElements
InheritedNo
PercentagesrelativeToBackgroundPositioningArea
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupWebKit Extensions
StatusNonstandard

Practical examples

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

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

Description

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

References

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

Similar or alternative tools

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