CSS Dropdown Menu,the Submenu Showed On Hover Dissapears While You Browse Submenu
Hello I have CSS dropdown menu, when I hover with the mouse to the firt item the submenu shows correctly but when I try to go down for example to the last item of the submenu befo
Solution 1:
demo - http://jsfiddle.net/r0bdcn7y/1/
change the css
#lang_select li {
display: inline-block;
position: relative;
width: 100%;
}
#lang_select ul {
padding: 0px;
margin: 0;
border: solid 1px #e1e1e1;
width: 85px;
}
#lang_select li {
display: inline-block;
position: relative;
width: 100%;
}
#lang_select ul ul {
position: absolute;
display: none;
}
#lang_select li:hover ul {
display: block;
}
#lang_select a {
text-decoration: none;
color: #333;
font-family: Open Sans;
font-size: 12px;
}
.lang-down {
padding-left: 10px;
}
<div id="lang_select">
<ul>
<li> <a href="#"> Language <i class="fa fa-angle-down"></i></a>
<ul>
<li><a href="#"><span class="lang-down"><i class="fa fa-globe"></i> Albanian</span></a>
</li>
<li><a href="#"><span class="lang-down"><i class="fa fa-globe"></i> French</span></a>
</li>
<li><a href="#"><span class="lang-down"><i class="fa fa-globe"></i> German</span></a>
</li>
</ul>
</li>
</ul>
</div>
Post a Comment for "CSS Dropdown Menu,the Submenu Showed On Hover Dissapears While You Browse Submenu"