Currently experimenting with css grid, envisioning a scenario where I have a 2x2 grid layout. When there are 4 child elements present, they would form 2 rows of 2 elements each. My challenge is when dealing with an odd number of children, I aim to avoid aligning the column at the furthest left point. Is it feasible to center align the element in the row? While flexbox offers this capability, it does not suit the final solution I have in mind.
I had hoped that css grid encompassed properties such as,
align-items:center; justify-items:center;
The desired end outcome I am striving for but struggling to achieve is illustrated below: https://i.sstatic.net/VDnG8.png