Summary
We’ve covered a lot of ground in this chapter. We started by understanding how to create fluid layouts that can flex between the media queries we set. We then spent considerable time getting acquainted with Flexbox, learning how to solve common layout problems with relative ease. We learned all about how to easily align content in containers, how to visually re-order things, and how to define the way we want our content to grow and shrink within its context.
As luck would have it, two great layout mechanisms arrived in CSS in relatively quick succession. Hot on the heels of the Flexible Box Layout Module was Grid Layout Module Level 1: https://www.w3.org/TR/css3-grid-layout/. Like Flexbox, CSS Grid means learning quite a bit of unique syntax. But don’t let that put you off. The next chapter is completely dedicated to Grid: what it can do, how it does it, and how we can bend it to our will.