Skip to content

align-self

Utilities for controlling how an individual flex or grid item aligns along the cross axis.

Flexbox & GridTailwind v4 Spec
ISS preview
Iced + ISS preview demonstrating align-self
ISS preview for align-self
use iced::widget::container;
use iss::{tw, TwExt};
let pill = container(label).tw(tw!("self-end px-2 py-1 bg-zinc-800 rounded-md"));
Tailwind Class CSS Property / Effect iss::typed Builder
self-auto align-self: auto; .self_auto()
self-start align-self: flex-start; .self_start()
self-end align-self: flex-end; .self_end()
self-center align-self: center; .self_center()
self-stretch align-self: stretch; .self_stretch()
self-baseline align-self: baseline; .self_baseline()

align-items · justify-self · place-self