Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Jonathan GrieveTreehouse Moderator 90,683 Points
Sticky footer: Are we encouraged to solve this ourselves?
I'm not sure I followed this correctly, is this a working fix for the flexbox sticky footer? I feel like I missed an explanation here.
For example, do we put a z-index on the footer to get the affect to work and the use the calc() function to subtract the height of the footer from the viewport height?
Just want to clear up a confusion :)
Tim Knight28,863 Points
He goes into solving this with Flexbox in the video at 3 minutes in... it doesn't include any of the older concepts that you might have learned in the CSS Layout course.
Question, why would you use a z-index for a footer with flexbox? I didn't see that in the video.