CSS place-self
The place-self property in CSS allows you to align a flex item inside a flex container both horizontally and vertically. It is a shorthand property for the align-self and justify-self properties combined.
The place-self property takes two values: the first value is for vertical alignment and the second value is for horizontal alignment. These values can be any of the following:
startendcenterstretch
Examples
In this example, the flex item is aligned to the center horizontally and to the start vertically within the flex container.
In this example, the grid items are aligned to the end horizontally and stretched vertically within the grid container.