Добрый день! Пожалуйста помогите довести CSS-оформление до ума.
HTML
<!DOCTYPE html>
<html lang="ru">
<head>
<title>Испытание: строим сетку</title>
<meta charset="utf-8">
</head>
<body>
<div class="block1">
<div class="layout-positioner">
<div class="header">Header</div>
</div>
<div class="menu">Menu</div>
<div class="promo ">
<div class="layout-positioner">
<div class="promo promo-1">Promo 1</div>
<div class="promo promo-2">Promo 2</div>
</div>
</div>
</div>
<div class="features">
<div class="layout-positioner">
<div class="layout-column layout-column-1">Left</div>
<div class="layout-column layout-column-2">Main</div>
<div class="layout-column layout-column-3">Right</div>
</div>
</div>
<div class="footer">
<div class="layout-positioner">
<div class="footer">Footer</div>
</div>
</body>
</html>
CSS
html,
body {
margin: 0;
padding: 0;
}
body {
width: 450px;
height: 335px;
font-family: "Arial", sans-serif;
font-size: 10px;
color: white;
}
.layout-positioner {
width: 370px;
margin: 0 auto;
}
.layout-positioner::after {
display: table;
content: "";
clear: both;
}
.block1{
margin-bottom: 10px;
background: #34495e;
padding-top:5px;
}
.header, .promo-1, .promo-2{
background: #c0392b;
}
.header, .menu {
min-height:15px;
color: white;
padding:10px;
margin:5px auto;
}
.header {
width:350px;
margin-top:10px;
padding-top:5px;
padding-bottom:15px;
}
.menu, .features .layout-column {
background: #3498DB;
}
.menu{
margin-bottom:10px;
padding:5px 0 15px 45px;
}
.promo-1 {
float: left;
margin-right: 5px;
width: 170px;
height: 45px;
padding:5px;
}
.promo-2 {
float:right;
margin-bottom: 10px;
width: 170px;
height: 45px;
background: #c0392b;
padding:5px;
}
.features .layout-column {
float: left;
margin-right: 10px;
padding:5px 0 0 5px;
width: 170px;
min-height: 100px;
}
.features .layout-column:last-child {
margin-right: 0;
width:80px;
}
.features .layout-column:nth-child(1) {
width:80px;
}
.footer{ color: white;
margin:5px 0;
padding:0 5px 15px;
background-color:#34495e;
}
/*
Используемые цвета:
#34495e – мокрый асфальт
#c0392b – красный
#3498DB – синий
*/