title: Display type not changing during parent hover
body: <p>I'm trying to make a slider which changes the div in the direction of the arrows. The arrows shouldn't be available unless you're hovering above the parent div. But the arrows are only available when I hover on the outer-right side of the image in the parent div. Also the hover on the subtitle link doesn't work either. Any help would be really appreciated.</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>/*Background*/
  
  .collection {
      height: 400px;
      position: relative;
      background-image: url('http://www.cliometrics.com/bbw/images/slider/bg/2.png');
      background-repeat: no-repeat;
      background-size: 120%;
      position: relative;
      z-index: -1;
      font-family:  'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  /*Title*/
  .collection p span {
      display: block;
      font-size: 50px;
      font-weight: 600;
      position: relative;
      top: 50px;
      left: 30px;
  }
  .collection p span:last-of-type {
      color: rgb(255, 0, 0);
      position: relative;
      bottom: 15px;
  }
  
  /*Subtitle*/
  .collection a {
      display: block;
      text-decoration: none;
      color: rgb(0, 0, 0);
      font-size: 20px;
      transition: color 250ms;
      position: relative;
      top: 60px;
      left: 30px;
  }
  .collection a:hover {color: rgb(255, 0, 0);}
  
  /*Arrows for shifting*/
  #collection_shifter {
      position: absolute;
      top: 100px;
      width: 100%;
      font-size: 70px;
      color: rgb(10, 10, 10);
  }
  
  /*Left Arrow*/
  #collection_shifter i:first-of-type {
      position: absolute;
      left: 50px;
      z-index: 1;
      display: none;
  }
  .collection:hover #collection_shifter i:first-of-type {
      display: inline-block;
      left: 50px;
  }
  
  /*Right Arrow*/
  #collection_shifter i:last-of-type {
      position: absolute;
      right: 30px;
      z-index: 1;
      display: none;
  }
  .collection:hover #collection_shifter i:last-of-type {
      display: inline-block;
      right: 30px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link rel="stylesheet" href="https://kit-pro.fontawesome.com/releases/v5.15.1/css/pro.min.css"&gt;
  &lt;div class="collection"&gt;
    &lt;div id="collection_shifter"&gt;
      &lt;i class="far fa-chevron-left"&gt;&lt;/i&gt;
      &lt;i class="far fa-chevron-right"&gt;&lt;/i&gt;
    &lt;/div&gt;
    &lt;p&gt;&lt;span&gt;New Books&lt;/span&gt;&lt;span&gt;Collection&lt;/span&gt;&lt;/p&gt;
    &lt;a href="#"&gt;Shop Now -&lt;/a&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>