Flexbox
noun
say it: “FLEKS-boks” /ˈflɛksbɒks/
A CSS layout system for lining items up in a row or a column and sharing out the space between them.
What is Flexbox?
Flexbox is a layout system for lining items up in a row or a column, spacing them out and aligning them, without floats or tricks.
.toolbar {
display: flex;
gap: 8px;
align-items: center;
}
In a sentence
- “With Flexbox, the three buttons sit in a row with equal space between them.”
Level: Journeyman · More CSS terms at this level
Updated