Align Content by Adding Styling to a CSS Grid Layout

Share this video with your friends

Send Tweet

One thing you can't escape when styling is centering content. It's going to happen even if you use CSS Grid!

We can define grids within grids, which will allow us to align our items within an area. We'll use align-items and justify-items to get this done!

Lesson Challenge

Which axis does "justify" refer to? What is the keyword that refers to vertical position?