I want to show a div on hover of other dive which is not sibling nor child. Here is html structure:
<div class="parent-div">
<div class="1st">
1st
</div>
<div class="2nd">
2nd
</div>
<div class="3rd">
3rd
</div>
<ul>
ul
</ul>
<div class="4th">
4th
</div>
</div>
Now I want to show 4th
div on hover of 3rd
div. Can anyone help me to accomplish this?
I have tried my best with CSS but not yet succeeded. If this is not possible with css then can anybody write javascript code for me as I don't know javascript.
NOTE: This is a code structure generated by Drupal CMS so I can not change the html code structure so please guide me accordingly.
But this is possible to place 4th div on place of 1st div if you find the solution like that.