<body>
<div class="grey">
<div class="header">Header</div>
<div class="menu"> Menu </div>
<div class="promo">
<div class="layout-positioner">
<div class="promo1">Promo 1</div>
<div class="promo2">Promo 2</div>
</div>
</div>
</div>
<div class="columns layout-positioner">
<div class="column"> Left</div>
<div class="column">Main</div>
<div class="column">Right</div>
</div>
<div class="footer">
<div class="layout-positioner">
Footer
</div>
</div>
</body>
html,
body {
margin: 0;
padding: 0;
}
body {
width: 450px;
height: 335px;
font-family: “Arial”, sans-serif;
font-size: 10px;
color: white;
}
.grey {
background: #34495e;
margin-bottom: 10px;
padding: 5px 0 10px 0 ;
}
.header {
background: #c0392b;
width: 340px;
height: 25px;
padding: 5px;
margin: 10px auto;
}
.menu {
background: #3498DB;
padding: 5px 45px;
height: 25px;
margin: 0;
}
.promo1, .promo2 {
background: #c0392b;
width: 160px;
height: 50px;
padding: 5px;
}
.promo1 {
float: left;
margin-right: 10px;
}
.promo2 {
float: left;
}
.promo {
margin-top: 10px;
}
.layout-positioner {
width: 370px;
margin: 0 auto;
}
.layout-positioner::after {
display: table;
content: “”;
clear: both;
}
.column {
background: #3498DB;
margin-right: 10px;
width: 60px;
height: 100px;
padding: 5px;
float: left;
}
.columns .column:nth-child(2){
width: 180px;
}
.columns .column:last-child {
margin-right: 0;
}
.columns {
width: 360px;
margin: 0 auto;
}
.footer {
margin-top: 10px;
background: #34495e;
height: 35px;
padding-top: 5px;
}
/*
Используемые цвета:
#34495e – мокрый асфальт
#c0392b – красный
#3498DB – синий
*/