Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed CSS Grid Layout!
You have completed CSS Grid Layout!
Preview
Learn how grid template areas make adjusting your layout at different breakpoints quick and easy.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
And I suggested that you practice
using grid template areas by placing
0:00
the nav item on the grid.
0:02
Now I'll show you my solution, then
I'll teach you how to use media queries
0:04
to adjust the position of grid items so
they look their best at different sizes.
0:08
First, I'll assign the nav
item to a named grid area.
0:12
So I'll target the nav element and
assign it the grid-area: nav.
0:17
Then in the container rule, I added
a third column, so we'll need to span
0:25
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up