html,
body { height: 100%; }
 
body {
display: table;
width: 100%;
}
 
.page-row {
display: table-row;
height: 1px;
}
 
.page-row-expanded { height: 100%; }

footer {
  background: #666;
  padding: 20px;
}
