A
AstraWind
v0.2.0
System
Effects

mask-origin

Utilities for controlling how an element's mask image is positioned relative to borders, padding, and content.

Quick reference

No native equivalent: these classes are accepted and ignored
Class
Styles
React Native
mask-origin-border
mask-origin: border-box;
No native equivalent
mask-origin-content
mask-origin: content-box;
No native equivalent
mask-origin-fill
mask-origin: fill-box;
No native equivalent
mask-origin-padding
mask-origin: padding-box;
No native equivalent
mask-origin-stroke
mask-origin: stroke-box;
No native equivalent
mask-origin-view
mask-origin: view-box;
No native equivalent
The React Native column is what AstraWind resolves each class to, computed live on this page with the current color scheme. Classes with no native equivalent are accepted without effect, and AstraWind warns about them in development. See Compatibility.