align-self
Aligns the grid item inside a cell along the block (column or vertical ) axis.
Values
- start – aligns the grid item to be flush with the start edge of the cell
- end – aligns the grid item to be flush with the end edge of the cell
- center – aligns the grid item in the center of the cell
- stretch – fills the whole height of the cell (this is the default)
Example
Post a Comment