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 Practice Flexible CSS Grid Layout!
You have completed Practice Flexible CSS Grid Layout!
Preview
Follow along to see how to lay out the web page using CSS Grid layout.
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
If not no worries, you can watch my
solution, compare it to what you wrote,
0:00
and then try to recreate it yourself.
0:00
The goal was to create a flexible and
0:02
responsive grid layout
that looks like this.
0:04
Now I'll show you how I created it.
0:07
You can also reference this code
when you download the project files.
0:09
First I'll determine which HTML
element is the grid container.
0:12
Looking at index.html I see that the div
0:16
with the class main-content wraps all
the card divs I want to lay out with grid.
0:20
So in the layout.css I'll
replace the placeholder
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