I don’t know about you, but I absolutely hate footers that float in the middle of the page if the page has very little content. Like this:
Look at all that whitespace. Ick. I suspect I’m not alone in this, since I rarely see footers that don’t stick to the bottom of the window and then expand to accommodate more content. And yet, it’s not very straightforward how to make that happen. Even good ol’ Bootstrap doesn’t have a class for it.
So, now recorded for posterity:*
One caveat: This technique only works for fixed-height footers