Skip to content
engineering workbench.by StudyPort Academy
All glossary terms

GLOSSARY · A WORD, UNPACKED

flexbox

a one-dimensional CSS layout mode that lines items up in a row or a column and distributes free space.

A little more detail

display:flex on a parent makes its direct children flex items. flex-direction chooses the main axis. justify-content distributes space on that axis, and align-items aligns items on the cross axis. flex-wrap allows another line. A flex item will not shrink below its content size unless you set a minimum of zero.

See it in practice

These lessons pair the idea with examples you can change and run.