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
you can use subgrid https://codepen.io/MannixMD/pen/qBGxoxE
that looks a hell of a lot like tabular data and should probably be in a table tag
Thank you! It currently is on my site but I hate the level of flexibility when the screen sizes get smaller