· course
Creating Layouts with CSS
A Pluralsight course on a repeatable process for building layouts in CSS, from simple to complex.
A Pluralsight course on building layouts in CSS with a process you can repeat, from simple pages to complex ones. Intermediate level, 3h 10m. It's the last of the four courses I wrote for Pluralsight.
My first course, Creating Layouts with CSS Grid, taught one tool. This one is about the job the tools are for. Someone hands you a mockup, or you make your own, and it has to become a page that holds up at every screen size.
what before how
The course doesn't start with code. After it lays out the process, the next module is about the hand-off between designers and front-end developers: clarifying requirements, then taking a mockup apart. The one after that is about layout as design, good layouts and common patterns, and one of its clips is called What before How. Code comes next, and it starts with clean HTML, web standards and accessibility, and CSS naming conventions.
Flexbox and Grid come back after that, side by side. The point isn't how either one works. It's which one fits the problem in front of you, and the module ends on a clip called When to Use What?
layout, then components
The process is three steps, and the course names them up front: make a plan, implement a responsive layout, then implement responsive components. The split between the last two is the main design decision. The layout is built first, made responsive with media queries. Then the course goes back over the same five pages of one demo site and makes each component responsive on its own, with responsive images and container queries, so it looks right in whatever space the layout gives it.
Every page gets built twice, once as layout and once as components. They're different problems, and keeping them apart is what makes the process repeatable.