float
Utilities for floating elements to the physical or logical start/end of a flow container.
ISS preview

Examples
Section titled “Examples”use iss::{flow_tw, box_tw, tw};
let flow = flow_tw([ box_tw(avatar, tw!("float-left size-12 mr-3 rounded-lg bg-sky-500")), article_text,], tw!("w-full"));use iss::typed::*;
let style = IssStyle::new().float_start().size(12).me(3);Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
float-left |
float: left; |
.float_left() |
float-right |
float: right; |
.float_right() |
float-start |
float: inline-start; |
.float_start() |
float-end |
float: inline-end; |
.float_end() |
float-none |
float: none; |
.float_none() |
Behavior Notes
Section titled “Behavior Notes”- Use
flow_twfor float/clear wrapping around sibling blocks, orfirst-letter:float-leftfor drop-caps. float-startandfloat-endflip automatically insidedir_rtl(...).