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
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
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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