The place-items CSS shorthand property aligns items along both block and inline directions at the same time.
MDN Reference