Skip to content

justify-content

Utilities for positioning flex and grid items along the main or inline axis.

Flexbox & GridTailwind v4 Spec
ISS preview
Iced + ISS preview demonstrating justify-content
justify-start/.justify_start()
use iss::{row_tw, tw};
let header = row_tw([title, actions], tw!("w-full items-center justify-between"));
Tailwind Class CSS Property / Effect iss::typed Builder
justify-start justify-content: flex-start; .justify_start()
justify-end justify-content: flex-end; .justify_end()
justify-center justify-content: center; .justify_center()
justify-between justify-content: space-between; .justify_between()
justify-around justify-content: space-around; .justify_around()
justify-evenly justify-content: space-evenly; .justify_evenly()
justify-stretch justify-content: stretch; .justify_stretch()

align-items · justify-items · place-content