title: Why background is blinking on hover when I move mouse cursor in DP box
body: <p>I am trying to create a DP box for the user which is containing a user profile picture in it, where on image hover an edit profile image link will appear, but it is not working. When I hover over on the image it is blinking and the link doesn't appear correctly.</p>
  
  <p>Here is the codepan link <a href="http://codepen.io/rhulkashyap/pen/zrobep" rel="nofollow">click here</a></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>@import url(https://fonts.googleapis.com/css?family=Roboto);
   body {
    font-family: 'Roboto', sans-serif;
    background-color: #eee;
  }
  .dp {
    width: 128px;
    height: 128px;
    margin: 0 auto;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.52);
    overflow: hidden;
    position: relative;
  }
  .edit-dp a {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    line-height: 130px;
    background-color: rgba(0, 0, 0, .9);
    text-align: center;
    transition: all .2s ease-in-out;
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    display: none;
  }
  .dp img:hover ~ .edit-dp a {
    display: block;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="dp"&gt;
    &lt;img src="http://rs618.pbsrc.com/albums/tt265/davejarrett/Avatars/check-in-minion_zps7ee060ac.jpg~c200" alt="" width="128"&gt;
    &lt;div class="edit-dp"&gt;
      &lt;a href="#"&gt;Edit Image&lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>