title: Transition css hover effects on image
body: <p>
  I need to do a task where I have an image, this image is being covered in some color fade, and when I hover on image - fade dissapears (the example is <a href="https://html5up.net/uploads/demos/forty/" rel="nofollow noreferrer">https://html5up.net/uploads/demos/forty/</a> ). I did it, but I also have to do a transition so that disappearing of fade will be slower for 2 seconds. I tried to put transition property everywhere and I failed. Any help, please?</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>.photo-text.one {
    background-size: cover;
    background: url("https://i2.wp.com/www.thehopelesshousewife.com/wp-content/uploads/2013/12/Christmas-No-Bake-Nachos-576x409.jpg") no-repeat center top;
    height: 409px;
    position: relative;
    width: 576px;
  }
  
  .img-overlay {
    width: 100%;
    height: 100%;
    background: #6fc3df;
    opacity: 0.75;
  }
  
  .photo-text.one:hover:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: url("https://i2.wp.com/www.thehopelesshousewife.com/wp-content/uploads/2013/12/Christmas-No-Bake-Nachos-576x409.jpg") no-repeat center top;
  }
  
  .text {
    position: absolute;
    top: 100px;
    left: 150px;
    color: red;
    z-index: 1;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="photo-text one"&gt;
    &lt;div class="img-overlay"&gt;&lt;/div&gt;
    &lt;h2 class="text"&gt;fffff&lt;/h2&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>