CSS Bologna 👨‍🏫

Flex Gap

🏡 Home

You can use the flex-gap property to hadle spacing between flex items.

gap: 12px;
💡
I have added margin-right:auto; to the left-most div in order to push the right-most to the furthest right side. This can be used for setting up a navigation header. The gap between div 2 and div 3 is 12px. You can also use margin in place of gap.