If we want to add space between each item, we could use margin on each item..flex-gap {display: inline-flex; flex-wrap: wrap;}.flex-gap > div {margin: 6px;} Margins works but is not the same behavior as CSS Gap space. Notice the extra space surrounding the boxes. With gap spacing, we only want space applied between the items.

4007

Jag följde inte exakt eftersom jag var tvungen att ändra min CSS eftersom jag hade en Navbar */ .navbar { display: flex; background: #004C66; align-items: center; justify-content: space-between; width: 100%; position: fixed; padding: 0 30px; } 

overflow: initial; display: flex; justify-content: space-between; align-items:  End Google Tag Manager -->