caption-side
Utilities for placing a table’s caption block above or below the table rows.
ISS preview

Examples
Section titled “Examples”use iss::{table_with_caption_tw, table_caption_tw, text_tw, tw};
let tbl = table_with_caption_tw( table_caption_tw(text_tw("Table 1: Budgets", tw!("text-xs text-zinc-400")), tw!("caption-bottom pt-2")), rows, tw!("w-full table-fixed border-collapse"),);use iss::typed::*;
let cap_style = IssStyle::new().caption_bottom().pt(2);Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
caption-top |
caption-side: top; |
.caption_top() |
caption-bottom |
caption-side: bottom; |
.caption_bottom() |
Behavior Notes
Section titled “Behavior Notes”- Use with
table_with_caption_tw(caption, rows, style)andtable_caption_tw.