From the course: CSS: Variables and Fluid Layouts

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Mark up a simple four-column grid system

Mark up a simple four-column grid system - CSS Tutorial

From the course: CSS: Variables and Fluid Layouts

Start my 1-month free trial

Mark up a simple four-column grid system

- [Instructor] In this next chapter, I'll walk you through step by step creating a flex box based grid system, using the principles of responsive design 2.0. We'll be creating a simple four column grid system. However, you can use the principles that I'm going to introduce here to create your own grid system. No matter how many or how few columns you'd like to use, because we're going to leverage calc and custom properties as part of our process. I showed you one way to start coding a four column grid system back in the first chapter, but I didn't include any media queries. So, over the course of this chapter, we're going to go through the whole process using a slightly different methodology than what I used in the first chapter. And, we'll be adding CSS. We'll be adding media queries. We'll work with calc. We'll work with custom properties. All of that. But, in order to get started, the very first thing that…

Contents