Define Root Colors Variables and Set up Box-Sizing for a CSS Layout

Share this video with your friends

Send Tweet

We will discuss the necessary CSS styles that we will need to start using CSS Grid. First, you'll download an index.html file and style.css from this GitHub repo - lesson1 folder.

This will contain some set up that will help you get up and running quickly. We'll discuss how to set and use CSS variables as well as box-sizing. box-sizing allows you to add border and padding without increasing the box-size, important for CSS grid!