Last active
September 19, 2018 09:05
Revisions
-
Felix revised this gist
Sep 19, 2018 . 2 changed files with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes.File renamed without changes. -
Felix revised this gist
May 4, 2018 . 2 changed files with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes.File renamed without changes. -
Felix created this gist
May 4, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ <body> <header></header> <main>No matter what length</main> <footer>the footer will still be at the bottom or below #internetthesedays</footer> </body> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ body { display: flex; //give the body flex flex-direction: column; //reset flex to "normal" html min-height: 100vh; //minimum of 100% height (browser output window) } footer { margin-top: auto; //set footer to bottom or below main, when larger than 100% height }