I have a div with an image and a small favorites button over it that people can click, but I'd like it to show only if they :hover over the div. How would I do that?
The structure is like this:
<a href="">
  <li class="mainpage">
    <article class="item mainpage">
      <div class="image">
        <div class="favorites-button" style="display: none;"><span class="icon-fav"></span></div>
      </div>
    </article>
  </li>
</a>
So basically, when somebody does a :hover on <article class="item mainpage"> then the <div class="favorites-button"> should show.
 
    