Нормально?
html,
body {
margin: 0;
padding: 0;
}
body {
width: 380px;
min-height: 280px;
padding: 10px;
font-family: “Arial”, sans-serif;
font-size: 14px;
line-height: 1.4;
background: #ecf0f1;
}
.main-menu {
width: 200px;
padding: 0;
margin: 0;
list-style: none;
}
.main-menu li {
position: relative;
}
.main-menu a {
display: block;
background-color: #2980b9;
color: #ffffff;
border-bottom: 2px solid #2c3e50;
text-decoration: none;
padding: 10px 15px;
}
.main-menu ul {
padding: 0;
margin: 0;
list-style: none;
}
.main-menu .sub-menu {
position: absolute;
left: 180px;
z-index: 10;
top: 0px;
width: 200px;
}
.main-menu .sub-menu a {
background: #1abc9c;
border-bottom: 2px solid #2ecc71;
}
.main-menu > .opened > a {
background: #1abc9c;
}