.chips { display: flex; gap: 16px; }Every two neighbouring chips are separated evenly by 16px.
LESSON 55 OF 100
Separate flex items without individual margins.
gap sets the minimum space between neighbouring container items. The spacing belongs to the layout and adds no outer margins at the group edges.
.chips { display: flex; gap: 16px; }Every two neighbouring chips are separated evenly by 16px.
.chips { display: flex; gap: 0; }A zero gap does not create the requested visual separation.
Enable Flexbox and set a 16px gap.
gap directly expresses the distance between items and leaves outer edges untouched.
ANALYSIS REQUEST
The initial discussion is without obligation. You receive an honest recommendation, suitable stages and the factors that affect price.