Four years ago, I wrote an article titled Minding the “gap”, where I talked about the CSS gap property, where it applied, and how it worked with various CSS layouts.

https://css-tricks.com/minding-the-gap

https://css-tricks.com/the-gap-strikes-back-now-stylable