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

Rachell A
Rachell A
519 Points

Grid Layout and Pseudo Selectors

What is the most efficient way to code this?https://www.dropbox.com/s/0vkg5y7xkber2ui/grid.png?dl=0 I was able to implement it by using .grid-item:nth-child(1) { grid-column-start:1; grid-columns-rend:3; grid-row-start:1; grid-row-end:3; }

.grid-item:nth-child(4) { grid-column-start:2; grid-columns-rend:4; grid-row-start:2; grid-row-end:4; }

what if I'd like to implement it automatically to succeeding items?