A container with both the justify-content and the align-items properties set to center will align the item(s) in the center (in both axis).