- And the CSS I used to s."/> - And the CSS I used to s."/> - And the CSS I used to s"/>
خرید بک لینک

Vote count: 0

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?

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 24 اسفند 1394 ساعت: 9:34

صفحه بندی