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