Im tring to display and hide a div with some text according to a mousehover on a link element that is in other place of the documnet:
HTML:
<ul class="black-white one-on-two" id="hidden-menu">
<li><a id="showhim" href="#">SHOW HIM?</a></li>
<li><a href="#">HOW?</a></li>
<li><a href="#">WHO?</a></li>
</ul>
<div class="one-on-two" id="showme"> SHOW ME</div>
CSS:
#showme {
display: none;
}
#showhim:hover #showme {
display: block;
}
why and how can I make it work with only css and HTML ?