title: I'm trying hide div 1 when hovering it, then show div 2 when div 1 is hidden
body: <p>I'm in need of hiding a div on mouse hover and then show another div instead, I'm trying to achieve this by using css but when I test the code, both divs are hidden. Maybe this can only be achieved using jQuery?</p>
  <p>I wrote down this code in pure CSS/HTML:</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>.responsive-banner {
    width: 100%;
    height: 154px;
    overflow: hidden;
    margin: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .responsive-banner a {
    text-decoration: none;
    color: #fff;
  }
  
  .banner-description {
    /*width:70%;
        height:127px; */
    display: flex;
    align-items: center;
  }
  
  .banner-description-2 {
    padding: 7px;
    max-height: 127px;
    overflow: hidde
  }
  
  .banner-title {
    font-family: "Roboto", "Arial", sans-serif;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: #000 1px 1px 1px;
    color: #000;
  }
  
  .banner-txt {
    font-family: "Roboto", "Arial", sans-serif;
    font-size: 1.11rem;
    color: #000;
  }
  
  .banner-btn {
    background: #279fba;
    float: right;
    margin-left: 20px;
    padding: 12px;
    font-size: 18px;
    border-radius: 4px
  }
  
  a.banner-btn {
    color: #FF0000;
    padding: 3px 5px;
  }
  
  a.banner-btn:hover {
    color: #5ca5ff;
  }
  
  #banneryoutube1 {
    bottom: 0;
    left: 0;
    float: left;
    background-image: url(/image1.webp);
    background-repeat: no-repeat;
    display: inline-block;
    cursor: pointer;
    width: 246px;
    height: 138px;
    background-size: 246px 138px;
    background-color: transparent;
  }
  
  #banneryoutube12 {
    bottom: 0;
    left: 0;
    float: left;
    background-image: url(/image2.webp);
    background-repeat: no-repeat;
    display: inline-block;
    cursor: pointer;
    width: 246px;
    height: 138px;
    background-size: 246px 138px;
    background-color: transparent;
    /* animation: wahooMario 0.12s linear 1;*/
  }
  
  #showbannerinarticle1 {
    display: block
  }
  
  #showbannerinarticle2 {
    display: none
  }
  
  #showbannerinarticle1:hover {
    display: none
  }
  
  #showbannerinarticle2:hover {
    display: block
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="showbannerinarticle1" class="responsive-banner"&gt;
    &lt;a href="/index.html" rel="nofollow" target="_blank"&gt;
      &lt;div id="banneryoutube1" /&gt;&lt;/div&gt;
  &lt;div class="banner-description"&gt;
    &lt;div class="banner-description-2"&gt;
      &lt;div class="banner-title"&gt;
        1&lt;/div&gt;
      &lt;div class="banner-txt"&gt;LOREM IPSUM
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;/a&gt;
  &lt;/div&gt;
  &lt;div id="showbannerinarticle2" class="responsive-banner"&gt;
    &lt;a href="/index2.html" rel="nofollow" target="_blank"&gt;
      &lt;div id="banneryoutube12" /&gt;&lt;/div&gt;
  &lt;div class="banner-description"&gt;
    &lt;div class="banner-description-2"&gt;
      &lt;div class="banner-title"&gt;
        1&lt;/div&gt;
      &lt;div class="banner-txt"&gt;LOREM IPSUM
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;/a&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>How can I proceed with this?
  Basically when I'm creating is an animated banner.</p>