CSS: align-self (for flex items)

By Xah Lee. Date: . Last updated: .

align-self

Example. flex-direction row

in this example, we have flex-direction row.

1 stretch
2 baseline
3 center
4 flex-start
5 flex-end

Example. flex-direction column

in this example, we have flex-direction column.

1 stretch
2 baseline
3 center
4 flex-start
5 flex-end

Possible Values

see

auto

Inherits from parent's align-items (default)

CSS, flex layout

CSS, flex align