css-exercises

The Holy Grail of Layout

In this last flexbox exercise you’re going to recreate an incredibly common website layout. It is so common that it is often called the Holy Grail layout… and with flexbox it is actually pretty easy to pull off.

As with the previous exercise, we’ve left a little more for you to do.

Hints

Desired outcome

desired outcome

The number of cards lined up in that section will change based on the width of your screen, so don’t stress about getting exactly a 2x3 or 3x2 grid.

On a smaller screen it will look like this:

smaller

Self Check