Example 1

Justify-content and align-content do not work since the grid is as big as the parent element.

Example 2

Justify-items and align-items do not work since the contents are as big as the grid cell they are in.

Example 3

Both justify-content and align-content, and justify-items and align-items work.