JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<header>
<div class="header-limiter">
<section class="logo">LOGO</section>
<ul>
<li><a href="#chapter-one">Main</a>
<li><a href="#chapter-two">News</a>
<li><a href="#chapter-three">Product</a>
<li><a href="#chapter-four">Blog</a>
<li><a href="#chapter-five">About</a>
<li><a href="#chapter-six">Contacts</a>
</ul>
</div>
</header>
<main>
<div class="main-limiter">
<section class="content">
<p>content</p>
</section>
<section class="aside">
<p>Разнообразный и богатый опыт повышение уровня гражданского сознания требует анализа прогресса
профессионального общества.</p>
</section>
</div>
</main>
<footer>
<div class="footer-limiter">
<p>footer</p>
</div>
</footer>
</div>
</body>
CSS
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* нормализуем отступы */
html {
height: 100%;
background-color: black;
}
/* важный момент, дать 100% высоты всему содержимому разметки и далее передать его body */
body {
height: 100%;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: bold;
color: white;
background-color: powderblue;
display: flex ;
flex-direction: column;
}
header {
background-color: darkslategray;
height: 70px;
display: flex;
justify-content: center;
flex-grow: 0;
}
.header-limiter {
width: 1170px;
display: flex;
align-items: center;
justify-content: space-between;
}
.logo {
font-size: 16px;
margin-left: 10px;
}
ul {
display: flex;
flex-direction: row;
list-style: none;
}
li {
margin: 0 10px;
}
li:last-child {
margin-right: 0;
}
/* или можно использовать :last-of-type */
main {
display: flex;
/* flex: auto; */
background-color: powderblue;
justify-content: center;
flex-grow: 1;
align-items: stretch;
}
.main-limiter {
width: 1170px;
display: flex;
flex-direction: row;
/* flex: auto; */
/* max-width: 1100px; */
margin: 5px 5px 150px 5px;
align-items: flex-start;
}
.content {
background-color: cadetblue;
/* flex-grow: 3; */
flex: auto;
border-radius: 3px;
...