layout
align-items
Sets align-items.
import { items } from "@sdxc/u/layout";Quick reference
Every documented call, beside the CSS it emits.
| Call | CSS |
|---|---|
u.items("center") | css({ alignItems: "center" }) |
Using a custom value
Every scale argument also takes a raw CSS value, which passes through untouched.
u.items("center")Applying on a state
Wrap the call in a state utility to scope it to one selector.
u.hover(u.items("center"))Responsive design
Wrap the call in a container query to scope it to one width.
u.at("md", u.items("center"))Signature
u.items(value?: AlignItemsValue)