break-before
Utilities for controlling how a column or page should break immediately before an element.
ISS preview

Examples
Section titled “Examples”use iced::widget::container;use iss::{tw, TwExt};
let heading = container(title).tw(tw!("mb-2 break-before-column"));use iss::typed::*;
let style = IssStyle::new().mb(2).break_before_column();Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
break-before-auto |
break-before: auto; |
.break_before_auto() |
break-before-avoid |
break-before: avoid; |
.break_before_avoid() |
break-before-all |
break-before: all; |
.break_before_all() |
break-before-avoid-page |
break-before: avoid-page; |
.break_before_avoid_page() |
break-before-page |
break-before: page; |
.break_before_page() |
break-before-column |
break-before: column; |
.break_before_column() |
Behavior Notes
Section titled “Behavior Notes”- Applies to direct children of
columns_twso headings start at the top of the next column.