DEV Community

Discussion on: Why you should already be using CSS Grid

willamesoares profile image
Will Soares Author

Hello Dick,

Thanks for reaching out. Sorry for the delay in answering you.

So, I went through your question and for the scenario you gave me, the markup for the column that is not rendered will not take any space, which makes total sense. So if you define that the grid should start from left to right and let's say the first column is not rendered, then the second column will take the space that was supposed to be allocated to the first column.

Check this out
You can try to remove the first and/or third inner div in there and see what happens :)