I know how to display one div when you hover over another using the CSS:
.showme {
display: none;
}
.showhim:hover .showme {
display: block;
}
<div class="showhim">HOVER ME
<div class="showme">hai</div>
</div>
But the new div is displayed underneath the hover div. How can i have a div that when you hover it, displays another div that may be somewhere else on the page e.g above the hover one. Rather than it displaying under the hover div.
You can do something like this: