<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
html {
font-family: Arial, Helvetica, sans-serif;
color: white;
}
body {
background: #444;
box-sizing: border-box;
}
.flexHeader {
display: flex;
justify-content: center;
align-items: center;
width: 98vw;
height: 24vh;
background-color: grey;
border-radius: 18px;
margin: 0 5px;
font-size: x-large;
}
.flexContent {
display: flex;
justify-content: center;
align-items: center;
}
nav {
width: 24vw;
height: 60vh;
background-color: grey;
border-radius: 18px;
margin: 10px;
font-size: x-large;
}
section {
width: 54vw;
height: 60vh;
background-color: grey;
border-radius: 18px;
margin: 10px;
font-size: x-large;
}
aside {
width: 24vw;
height: 60vh;
background-color: grey;
border-radius: 18px;
margin: 10px;
font-size: x-large;
}
.flexFooter {
display: flex;
justify-content: center;
align-items: center;
width: 98vw;
height: 10.6vh;
background-color: grey;
border-radius: 18px;
margin: 0 5px;
font-size: x-large;
}
</style>
</head>
<body>
<div class="flexHeader">
<header><header></header>
</div>
<div class="flexContent">
<nav><nav></nav>
<section><section></section>
<aside><aside></aside>
</div>
<div class="flexFooter">
<footer>
<footer>
</footer>
</div>
</body>
</html>
текст header footer в центре а средний контент нет, и бокс сайзинг не применяется