Ok so my original HTML structure looked like this:
<div class="adjust_imagemode">
-
</div>
<img class="lifestyle7 adjust">
And the CSS I used to select and manipulate the looked like this:
.adjust_imagemode:hover + img {
width: 70vmin;
height: 100vmin;
}
Well, I had to change my HTML structure to this:
<div class="adjust_imagemode">
-
</div>
<div class="fullcoverbackground">
<img class="lifestyle2 adjust">
</div>
And I thought if I changed my CSS to the following everything would work as before:
.adjust_imagemode:hover + div img {
width: 70vmin;
height: 100vmin;
}
What obvious thing am I missing? How can I get the <img> to be selected when the <div> with "adjust_imagemode" is hovered?
