title: How to make a div overlap another while hovered
body: <p>I wanted to make a div that contains some info about a product and when the user hovered the product that div that contains information pops up but the info div seems to be glitching somehow and isn't stable</p>
  <p>Here's the code:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.product {
    position: absolute;
    background-color: blue;
    width: 100px;
    height: 200px;
    z-index: 1;
  }
  .info {
    position: absolute;
    background-color: red;
    width: 300px;
    height: 300px;
    z-index: 2;
    opacity: 0.5;
    visibility: hidden;
  }
  .product:hover + .info {
    visibility: visible;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="parent"&gt;
    &lt;div class="product"&gt;&lt;/div&gt;
    &lt;div class="info"&gt;&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>How can I have a stable version that doesn't glitch and appear and disappear every millisecond</p>