Professional Documents
Culture Documents
Body
Body
background-color: whitesmoke;
}
header{
background-color: chocolate;
height: 150px;
}
.container{
display: flex;
flex-direction: row;
/*height:400px;*/
}
section{
background-color: yellow;
width: 70%;
height:200px;
margin-right: 10px;
}
aside{
background-color: yellow;
width: 29%;
height: 200%;
}
footer{
margin-top: 10px;
background-color: chocolate;
height: 80px;
}
article{
width:455px;
height: 650px;
background: #ecbe5b;
}
</style>
</head>
<body>
<div class="container">
<header></header>
<main>
</body>
</html>
Index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet"href="app.css">
</head>
<body>
<header></header>
<div class="container">
<section></section>
<aside></aside>
</div>
<footer></footer>
</body>
</html>