Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
CSS Grid provides a feature that lets you create named grid areas, then you use those names to position items on the grid. First, you'll use the grid-area
property to assign a custom name to each grid area. Then you'll use the grid-template-areas
property to define how the layout looks, by referencing those custom-named areas.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Peter Huang
5,427 Points1 Answer
-
Muaaz Matwadia
Full Stack JavaScript Techdegree Graduate 19,327 Points1 Answer
-
Peter May
16,376 PointsMobile 1st rule: How does the CSS grid know how to lay out the templates for sm. screens when you custm. like this vid?
Posted by Peter MayPeter May
16,376 Points1 Answer
-
ian truong
4,685 Pointsgrid placement in css are amazing but i have one concern. can header and nav share one space?
Posted by ian truongian truong
4,685 Points1 Answer
-
PLUS
Omar Perez
Courses Plus Student 164 Points3 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
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