background-clip
Utilities for controlling the bounding box to which a background color or gradient is clipped, including gradient text.
ISS preview

Examples
Section titled “Examples”use iced::widget::text;use iss::{tw, TwExt};
let headline = text("Iced Style Sheet").tw(tw!( "text-3xl font-extrabold bg-linear-to-r from-blue-400 to-cyan-300 bg-clip-text text-transparent"));use iss::typed::*;
let style = IssStyle::new().text_3xl().font_extrabold().bg_linear_to_r().from_color(palette::BLUE_400).to_color(palette::CYAN_300).bg_clip_text();Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
bg-clip-border |
background-clip: border-box; |
.bg_clip_border() |
bg-clip-padding |
background-clip: padding-box; |
.bg_clip_padding() |
bg-clip-content |
background-clip: content-box; |
.bg_clip_content() |
bg-clip-text |
background-clip: text; |
.bg_clip_text() |
Behavior Notes
Section titled “Behavior Notes”- Pair
bg-clip-textwithtext-transparentand a gradient to render gradient-filled text.