Finally, to centre all grid items, use the text-align property and set its value to center.
text-align
center
Make sure to pick text-align followed by : and then center, ;.
:
;