Forced footer to always be at the bottom of the window.

This commit is contained in:
Adrian 2017-05-11 11:08:30 +02:00
parent 4ea2ec8d50
commit 34741dc5db
1 changed files with 8 additions and 2 deletions

View File

@ -1,14 +1,20 @@
body {
background-color: #f5f5f5;
color: #212121;
display: flex;
flex-direction: column;
font-family: 'RobotoDraft', 'Roboto', 'Helvetica Neue, Helvetica, Arial', sans-serif;
font-style: normal;
font-weight: 300;
font-size: 16px;
height: 100vh;
line-height: 1.4;
color: #212121;
background-color: #f5f5f5;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
body > section:last-of-type {
flex: 1;
}
section {
padding: 1em 1em;