34 karma · joined May 29, 2020
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
Start making a game, and you'll soon realise how the CPU works, and making a simple emulator will start to seem very possible.
- Limit to 1 creative thing per month (music one month, programming the next, etc.) I find it helps to get deep into 1 thing for a while rather than skimming the surface on multiple
- Waking up early, and doing the creative things first (less interruptions in the morning, you have your energy)
place-content will position all the children to the center, which is generally what's desired here.
place-items, would make each child element center itself within its own grid square
Source: https://developer.mozilla.org/en-US/docs/Web/CSS/place-items
I think there's a lot of confusion for most people between justify-content/justify-items and align-content/align-items