Что не так в коде?
html,
body {
margin: 0;
padding: 0;
}
body {
width: 280px;
min-height: 280px;
padding: 10px;
font-family: “Arial”, sans-serif;
font-size: 14px;
line-height: 1.4;
background: #ecf0f1;
}
.main-menu {
padding: 0;
display: block;
list-style: none;
width: 200px;
}
li {
background-color: #2980b9;
border-bottom: 2px solid #2c3e50;
min-height: 40px;
}
.main-menu a{
color: #ffffff;
text-decoration: none;
padding: 10px 15px;
}
.main-menu .active {
background-color: #1abc9c;
border-bottom: #1abc9c;
}
.main-menu li:hover {
background-color: #2ecc71;
border-bottom: #2ecc71;
}