Skip to main content

Course

HTML and CSS

HTML and CSSPart 4 of 6 · Chapter 2 of 4

One Dimension, Solved

Flexbox exists because centring a box vertically used to require a genuine trick. Set four properties, watch a row become a column and back, and learn which axis each property is actually talking about.

Read first: Block, Inline, and the Normal Flow


Make a free account to read on

Every chapter is free — an account lets your course progress follow you from your laptop to your phone. No payment, no trial.