re: My favourite line of CSS VIEW POST

re: Doesn’t justify-items and/or justify-content : center help with the last line thing?

They would in a flex layout I think! Within grid, those properties seem to align the items/content within their existing row or column, but not affect the placement of the items themselves.. in a way it makes sense, though, since a grid is.. well, a grid—so the columns and rows are continuous throughout the entire grid


Ah yes you are right. I have come across similar situations where what I need is some kind of blend of flex and grid

Yeah often what feels like grid ends up being better off flex. I might mess around A bit and see what the closest flex version of this I can come up with

Code of Conduct Report abuse