Пробовал сделать так:
Подскажите решение, плиз! Задача - прикрепить с права при спуске вниз!
| Код |
|---|
.Navigation{
height: 50px;
padding: 0;
margin: 0;
position: absolute;
}
.Navigation li {
height: auto;
width: 150px;
float: left;
text-align: center;
list-style: none;
font:12px "Bonveno", "Century Gothic";
padding: 0;
margin: 0;
background-color: #eee;
border: 1px solid #ccc;
box-shadow: 0 1px 0 rgba(255,255,255, .9) inset, 0 1px 3px rgba(0,0,0, .1);
border-radius: 3px;
margin-left:10px;
}
.Navigation a{
padding:13px;
text-decoration: none;
color:#333;
text-shadow: 0 1px #fff;
display: block;
}
.Navigation li ul{
display: none;
height: auto;
margin-left: -11px;
padding: 0;
}
.Navigation li:hover ul{
display: block;
}
.navbar li ul li {
background-color:#eee;
border: 1px solid #ccc;
}
.Navigation li:hover, a:hover {
background: #e8e8e8;
}
|
Изменено:
Владислав Приторкин - 10 Мая 2017 09:07
