CSS
html,
body {
margin: 0;
padding: 0;
}
body {
width: 450px;
height: 335px;
font-size: 10px;
font-family: “Arial”, sans-serif;
color: white;
}
.header{
background-color: #34495e;
padding-top: 10px;
margin-bottom:10px;
}
.position{
width:350px;
margin: auto;
}
.position::after {
content: “”;
display: table;
clear: both;
}
.subheader{
background-color: #c0392b;
height:25px;
padding: 5px 5px ;
margin-bottom: 10px;
}
.submenu{
width:450px;
margin-left:-50px;
padding-top: 5px;
padding-left: 55px;
background-color: #3498db;
height:35px;
margin-bottom: 10px;
box-sizing:border-box;
}
.promo1, .promo2{
background-color: #c0392b;
width:160px;
height:50px;
padding: 5px 5px ;
margin-bottom: 10px;
}
.promo1{
float:left;
}
.promo2{
float:right;
}
.content{
margin-bottom:10px;
}
.column{
background-color: #3498db;
float:left;
width:60px;
min-height:100px;
margin-right:10px;
padding: 5px;
}
.column:last-child{
float:right;
margin-right:0px;
}
.column:nth-child(2){
width:180px;
}
footer{
background-color: #34495e;
height:35px;
}
.footer{
padding-top: 5px;
padding-left: 10px;
}