How to add Gap to Grid Elements that are "Display: Contents:

I'm trying to have the team sections separated by a few px but im struggling with the current structure of my setup. Do I need to change my HTML to achieve what i'm looking for? I was using the display:contents on the team section so that i could put a team background image in each section. https://codepen.io/tvu1313/pen/NWVyXGE
3 Replies
Jochem
Jochem3w ago
that looks a hell of a lot like tabular data and should probably be in a table tag
WithMyTes…
WithMyTes…3w ago
Thank you! It currently is on my site but I hate the level of flexibility when the screen sizes get smaller