Flexbox row with gap

Items next to each other, spaced evenly.

CSS · Flexbox row with gapBeginner
.row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.row .grow { flex: 1; }
flexboxrowgapalign-items