by joestrong · 2y ago · 0 comments
It didn't. `justify-content` works with grid too, and will bunch all the grid cells into the center. `justify-items` is if you want the contents of each grid cell to be centered.
Also, `place-content` or `place-items` for grid does both the horizontal & vertical at the same time.
I admit that CSS isn't always obvious how it works, but it seems like the author didn't care to check
This undermines trust in all technical parts of your writing.