CSS 3 · Flexbox
Lay out items in a row with spacing
Place children side by side with a gap between them.
.row {
display: flex;
gap: 1rem;
}
CSS 3 · Flexbox
Place children side by side with a gap between them.
.row {
display: flex;
gap: 1rem;
}
Was this page helpful?