align-items

The flexbox and grid property that positions items along the cross axis, such as stretching them to equal height or centring them.

In more detail

The default, stretch, makes flex items in a row as tall as the tallest. align-self overrides it for a single item, and baseline lines items up by their text.

Related terms

Taught in

References