The following <div>
:
<div class="color-nav">
<img src="" alt="">
</div>
should be inside the <li>
that has the class DropdownList--li DropdownList_White--li
in order to be able to be selected as per your CSS which is:
.DropdownList--li:hover .color-nav {
display: inline-block;
}
That is, above, you are selecting .color-nav
as a child of .DropdownList--li
, but in your HTML the .color-nav
is not its child.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…