Difference between revisions of "Team:UCopenhagen/Test/M"

(Undo revision 88663 by Na399 (talk))
(Try grid)
Line 8: Line 8:
  
 
<style>
 
<style>
html, body {
+
html {
 
   height: 100%;
 
   height: 100%;
 
}
 
}
 
body {
 
body {
   display: flex;
+
   min-height: 100%;
   flex-direction: column;
+
   display: grid;
}
+
   grid-template-rows: 1fr auto;
.pageContent {
+
   flex: 1 0 auto;
+
 
}
 
}
 
.footer {
 
.footer {
   flex-shrink: 0;
+
   grid-row-start: 2;
 +
  grid-row-end: 3;
 
}
 
}
 
</style>
 
</style>

Revision as of 12:21, 10 August 2018