JSFiddle - React, Tailwind, and code Playground
HTML
<section>
<header>En-tĂŞte de la Page</header>
<article>
<nav>Menu</nav>
<aside>Le Corps de ta Page
<p>un</p>
<p>deux</p>
<p>trois</p>
</aside>
</article>
</section>
<footer>Le Pied de la Page</footer>
CSS
* {
margin : 0;
border : 0 none;
padding : 0;
-webkit-box-sizing : border-box;
-moz-box-sizing : border-box;
box-sizing : border-box;
}
html {
height : 100%;
padding : 25px;
background-color : maroon;
}
body {
height : 100%;
}
section {
min-height : calc(100% - 50px); /* hauteur du footer */
background-color : red;
}
section header {
background-color : lightgreen;
height : 50px;
padding : 10px;
}
section article {
display : table;
width : 100%;
}
section article nav {
display : table-cell;
width : 100px;
background-color : yellow;
padding : 10px;
}
section article aside {
display : table-cell;
background-color : lightblue;
padding : 10px;
}
footer {
background-color : lightgreen;
height : 50px;
padding : 10px;
margin-bottom : 25px;
}