CodeZettaInterview Hub

CSS · Flexbox · Mid-Level · Best Practice

gap in flexbox — why prefer it over margins?

Short Interview Answer

gap spaces items without end margins collapsing/doubling hacks.

Detailed Explanation

Cleaner responsive stacks. Watch older browser support if relevant.

Did you know this answer?