mask-origin
Utilities for controlling the positioning coordinate box of a mask image.
ISS preview

Examples
Section titled “Examples”use iced::widget::container;use iss::{tw, TwExt};
let box_el = container(inner).tw(tw!("p-4 mask-radial mask-origin-content"));use iss::typed::*;
let style = IssStyle::new().p(4).mask_origin_content();Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
mask-origin-border |
mask-origin: border-box; |
.mask_origin_border() |
mask-origin-padding |
mask-origin: padding-box; |
.mask_origin_padding() |
mask-origin-content |
mask-origin: content-box; |
.mask_origin_content() |
mask-origin-fill / stroke / view |
SVG box mask-origin keywords; |
.mask_origin_fill() |