Main size and cross size

There's something called the main size and cross size, as shown here:

By default, the main size is the width and cross size is the height, but this can change if you modify the flex-direction, something we'll learn about in the next section.

Get Mastering CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.