Skip to content

Glossary: CSS Layout and Responsive Design

flex

Also written: flex shorthand

Shorthand for grow, shrink and basis, such as `flex: 1 1 220px`. `flex: 1` means `1 1 0`: take an equal share of all the space.

Where the book teaches it

Related terms

flex-grow, flex-shrink, flex-basis