I\'ve been looking through all the min-height: 100% solutions on StackOverflow and the web and I can\'t seem to find one that fits my (relatively simple) needs.
Here\'s
Here is the fix:
HTML
Header Here comes the content ...
CSS
body { display: flex; flex-direction: column; height: 100vh; } header, footer { flex-shrink: 0; } main { flex: 1 0 auto; }
jsfiddle: http://jsfiddle.net/d5syw3dc/