html,
body {
margin: 0;
padding: 0;
}
body {
width: 280px;
min-height: 280px;
padding: 10px;
font-size: 14px;
line-height: 1.4;
font-family: "Arial", sans-serif;
background-color: #ecf0f1;
}
.main-menu {
width: 200px;
}
.main-menu,
.main-menu ul {
margin: 0;
padding: 0;
list-style: none;
}
.main-menu ul {
padding-top: 15px;
padding-bottom: 5px;
border-bottom: 2px solid #2c3e50;
background-color: #fff;
}
.main-menu > li > a {
display: block;
color: white;
text-decoration: none;
background-color: #2980b9;
padding: 10px 15px;
border-bottom: 2px solid #2c3e50;
}
.main-menu > .active > a {
background-color: #1abc9c;
}
.main-menu li li a {
display: block;
padding-left: 15px;
padding-bottom: 10px;
color: #2980b9;
background-color: #fff;
}
100% совпадение:)
html,
body {
margin: 0;
padding: 0;
}
body {
width: 280px;
min-height: 280px;
padding: 10px;
font-size: 14px;
line-height: 1.4;
font-family: “Arial”, sans-serif;
background-color: #ecf0f1;
}
.main-menu {
width: 200px;
margin: 0;
padding: 0px;
list-style: none;
}
.main-menu li {
}
.main-menu a {
display: block;
padding: 10px 15px;
color: #0088cc;
text-decoration: none;
background-color: #2980b9;
border-bottom:2px solid #2c3e50;
color: #ffffff;
}
.main-menu > .active > a {
background-color: #1abc9c;
border-bottom: 2px solid #2c3e50;
color: white;
}
.main-menu ul {
padding:10px 0;
margin: 0;
list-style: none;
background: white;
border-bottom:2px solid #2c3e50;
text-decoration: underline;
}
.main-menu li li a {
border: none;
padding: 5px 15px;
margin: 0px;
background-color: #ffffff;
color: #2980b9;
}