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
CSS Grid is not meant to replace Flexbox. Flexbox and Grid are complementary layout tools, and each has their specialties.
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
Grid are actually complimentary layout
tools, and each have their specialties.
0:00
As you learned, at the beginning of
the course, the biggest difference between
0:00
the two is that Flexbox lays out items in
a single dimension, in a row, or a column,
0:03
and Grid lays out items in two dimensions,
rows and columns at the same time.
0:08
So before we wrap up,
I'll demonstrate why Grid and
0:13
Flexbox together
are a powerful combination.
0:16
You can launch the new workspace with this
video to code along, or kick back for
0:19
a bit and just watch,
then try it for yourself later.
0:24
In the HTML I have six card
items inside a main content div.
0:26
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