I successfully influenced the style of one div
when hovering over another div
using the "+" selector, but I would prefer to find a different solution. My goal is for this interaction to work even if the .h div
and the .t div
are located in separate parent elements.
Here is my current code: http://jsfiddle.net/FranLegon/y06gg3vt/
(Although it may seem similar to other questions, the answers provided did not help me resolve this specific issue) While I prefer a CSS-only solution, please feel free to use JavaScript if necessary.