![Jessica Chan on Twitter: "One of my biggest pain points with flexbox is that there's no non-hacky way to add space between grid items *in all cases. CSS grid has the "grid-gap" Jessica Chan on Twitter: "One of my biggest pain points with flexbox is that there's no non-hacky way to add space between grid items *in all cases. CSS grid has the "grid-gap"](https://pbs.twimg.com/media/ECBpQ8pXUAY-I3u.png)
Jessica Chan on Twitter: "One of my biggest pain points with flexbox is that there's no non-hacky way to add space between grid items *in all cases. CSS grid has the "grid-gap"
![Collapsing gaps in CSS grid when using auto-fit - unwanted behaviour when columns wrap - Stack Overflow Collapsing gaps in CSS grid when using auto-fit - unwanted behaviour when columns wrap - Stack Overflow](https://i.stack.imgur.com/uS0lB.jpg)
Collapsing gaps in CSS grid when using auto-fit - unwanted behaviour when columns wrap - Stack Overflow
![How to Create a Responsive Grid Layout With Under 10 Lines of CSS. | by Ross Baker | The Startup | Medium How to Create a Responsive Grid Layout With Under 10 Lines of CSS. | by Ross Baker | The Startup | Medium](https://miro.medium.com/max/1080/1*bM8uqhtLUDSeq5Yng1sEWQ.gif)