Designing a complex responsive layout
Let's imagine we've emerged from client meetings with a plan to organize the home page content in three tiers, ranked by importance.
In medium and wide viewports, this content will be laid out in three columns, as shown in the following screenshot:
In a narrow viewport, these will be laid out one after another, in a single vertical column:
And in a small and medium tablet-width
viewport, we'll arrange the content in two side-by-side columns, with the third tier of content laid out beneath it as a horizontal row, as shown in the following screenshot:
To get us started, I've provided the basic markup for three equal columns. Let's review what we have and then adapt it to the needs of this design. We'll begin with the three-column layout for medium and wide viewports.
Adjusting the large and extra-large layout
Currently, in large and extra-large viewports, our three columns are equal in width, font size, button size, and color. As a result, the presentation lacks...