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 Position Items by Grid Lines

Why does the footer disappear once the second row track is changed to minmax values and the viewport size is reduced?

In the video, why does the footer disappear from the bottom (in other words the footer's height reduces to zero) once the second row track is changed to minmax values and the viewport size is reduced by the user? Shouldn't the item's height stay static at 100px given this is the value assigned to the height in the grid-columns-rows property in the container?

( for ref - go to around 6mins to 6:25mins on the video).

Thanks for your help all.

1 Answer

Reggie Williams
STAFF
Reggie Williams
Treehouse Teacher

Hey Matt Nickolls the footer is still there if you check out the project files. You just have to scroll down to see it since the main div has an fr value which makes it take up the remainder of the space