Насколько приемлем код по мнение опытных верстальщиков?
HTML
<!DOCTYPE html>
<html lang="ru">
<head>
<title>Испытание: строим сетку</title>
<meta charset="utf-8">
</head>
<body>
<div class="welcome">
<div class="header">Header</div>
<div class="menu">Menu</div>
<div class="promo clearfix">
<div class="promo1">Promo 1</div>
<div class="promo2">Promo 2</div>
</div>
</div>
<div class="layout clearfix">
<div class="left">Left</div>
<div class="main">Main</div>
<div class="right">Right</div>
</div>
<footer>Footer
</footer>
</body>
</html>
CSS
`html,
body {
margin: 0;
padding: 0;
}
body {
width: 450px;
height: 335px;
font-family: "Arial", sans-serif;
font-size: 10px;
color: white;
}
.welcome {
background-color: #34495e;
padding: 10px 0px;
}
.header {
background-color: #c0392b;
height: 35px;
width: 350px;
margin: 0 auto 10px auto;
padding: 5px;
box-sizing: border-box;
}
.menu {
background-color: #3498db;
width: 100%;
height: 35px;
margin-bottom: 10px;
padding: 5px 0px 10px 55px;
box-sizing: border-box;
}
.promo1,
.promo2 {
background-color: #c0392b;
width: 170px;
height: 60px;
}
.promo1 {
float: left;
margin-left: 50px;
padding: 5px;
box-sizing: border-box;
}
.promo2 {
float: right;
margin-right: 50px;
padding: 5px;
box-sizing: border-box;
}
.layout {
}
.left {
background-color: #3498db;
width: 70px;
height: 110px;
float: left;
margin: 10px;
margin-left: 50px;
}
.main {
background-color: #3498db;
width: 190px;
height: 110px;
float: left;
margin: 10px 10px 10px 0px;
}
.right {
background-color: #3498db;
width: 70px;
height: 110px;
float: right;
margin: 10px 50px 0px 0px;
}
.left,
.main,
.right {
padding: 5px;
box-sizing: border-box;}
footer {
background-color: #34495e;
width: 100%;
height: 35px;
margin-bottom: 10px;
padding: 5px 0px 10px 55px;
box-sizing: border-box;
}
.clearfix::after {
content: "";
display: table;
clear: both;
`