clear
Utilities for controlling the wrapping of content around preceding floated elements.
ISS preview

Examples
Section titled “Examples”use iced::widget::text;use iss::{tw, TwExt};
let footer = text("Below floated media").tw(tw!("clear-both pt-2 text-xs text-zinc-400"));use iss::typed::*;
let style = IssStyle::new().clear_both().pt(2);Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
clear-left |
clear: left; |
.clear_left() |
clear-right |
clear: right; |
.clear_right() |
clear-both |
clear: both; |
.clear_both() |
clear-start |
clear: inline-start; |
.clear_start() |
clear-end |
clear: inline-end; |
.clear_end() |
clear-none |
clear: none; |
.clear_none() |
Behavior Notes
Section titled “Behavior Notes”- Use inside
flow_tw; logicalclear-startandclear-endflip automatically insidedir_rtl(...).