Problem: When a web page doesn't have enough content to fit the screen, the footer doesn't stay at the bottom so it ends up looking weird.
Solution: Do the layout using flex columns. In addtion to that either,
-
Add
flex-grow: 1to the content area, here it is thesection.
OR -
Add
margin-top: autoto the element you you wish for it to always stay at the bottom, here it isfooter.