I know it's a question asked tons of times, but I'm not able to find my answer.
I have a container with 2 divs
<div id="container">
<div id="two">
<div id="three">three, please hover me</div>
</div>
<div id="one">one</div>
</div>
where #one
is shown outside the container with an absolute positioning, and #two
is a container to let div #three
to float right.
I would like to show #one
when hovering #three
. Basing on this answer, I have tried to add a +
selector in my code, since #one
is directly after the #two
closing tag, but it doesn't work (fiddle).
You can change my structure if needed, the only things that I would like to keep are that #one
is shown outside the container and #two
is floated to right. If possible, I would like to avoid using jQuery scripts and keep everything in CSS. Thanks!