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 trialJohn Weland
42,478 PointsSticky footer: thoughts
I understand why Guil Hernandez uses
width: calc(100vh - 89px);
I really hope in later versions of css they implement something like
width: calc(100vh - .class_name);
or
width: calc(100vh - #element_id);
allowing for a flexible footer and the math is automatically done based on the footers height.
1 Answer
Guil Hernandez
Treehouse TeacherHi John Weland,
In the flexbox course coming out on the 23rd, you'll learn a more flexible method for creating multi-line sticky footers. :)
John Weland
42,478 PointsJohn Weland
42,478 PointsWell then... hurry up and get here 23rd!