I found this nifty code:
<div style="width: 80px; height: 20px; background-color: red;"
onmouseover="document.getElementById('div1').style.display = 'block';">
<div id="div1" style="display: none;" onmouseout="document.getElementById('div1').style.display = 'none';"> Text</div>
</div>
and I’ve been trying to use to show/hide a div onto of pre-determined divs on Tumblr, but I’m probably using it wrong, will this work or will I have to use another code?
Here is the functionality you need.
html
css
javascript