Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS Grid Layout Going Further with Grid Layout Negative Grid Lines and Shorthand Syntax

Valeshan Naidoo
Valeshan Naidoo
27,008 Points

Source mistake?

Just was reading the text from https://alligator.io/css/css-grid-layout-span-keyword/ and in this section below:

If multiple lines have the same name, you can define the start and end lines like in the following example:

.item {
  grid-column: col 2 / col 7;
  grid-row: content 6 / content 10;
}

The item starts on the column with the 2nd line named col and ends on the 7th line also named col. Similarly, it starts on the 6th line named row and ends on the 10th line named row.

If the column line name is col because of it's prefix, shouldn't the row line name be content?

1 Answer

Rich Donnellan
MOD
Rich Donnellan
Treehouse Moderator 27,671 Points

Good catch. I'll try reaching out to Sebastian to get this fixed. 👍🏻