box-decoration-break
Utilities for controlling how backgrounds, borders, and padding render across fragmented lines.
ISS preview

Examples
Section titled “Examples”use iced::widget::text;use iss::{tw, TwExt};
let badge = text("Multi-line highlight").tw(tw!("px-2 py-0.5 bg-blue-600 text-white box-decoration-clone"));use iss::typed::*;
let style = IssStyle::new().px(2).py(0.5).bg(palette::BLUE_600).box_decoration_clone();Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
box-decoration-clone |
box-decoration-break: clone; |
.box_decoration_clone() |
box-decoration-slice |
box-decoration-break: slice; |
.box_decoration_slice() |
Behavior Notes
Section titled “Behavior Notes”box-decoration-clonepaints padding, border, and background on every wrapped line fragment;slicetreats them as one continuous box.