<div class="effects">
 <img src="image.jpg" alt="">
 <div>
  <h2>Текст</h2>
  <p>Заголовок</p>
  <a>Подробнее</a>
 </div>
</div>
.effects  {
 position: relative;
 display: inline-block;
 box-shadow: 1px 3px 1px 0 rgba(0, 0, 0, 0.08);
 border:1px solid #cfcfcf;
 background-color: #fff;
 font: normal 14px sans-serif;
 margin: 20px;
 border: 5px solid #fff;
 overflow: hidden;
 font-family: 'Roboto', sans-serif;
 font-size: 14px;
 max-height: 200px;
}

.effects  img {
 display: block;
 position: relative;
 max-width:100%;
 height:auto;
 display: block;
 margin-left: auto;
 margin-right: auto;
}

.effects  div {
 width: calc(100% - 20px);
 height: 100%;
 position: absolute;
 overflow: hidden;
 top: 0;
 left: 0;
 padding: 10px;
 text-align: center;
}

.effects a {
 display: inline-block;
 text-decoration: none;
 padding: 7px 14px;
 background: #000;
 color: #fff;
 font-family: 'Roboto', sans-serif;
 font-size: 14px;
}

.effects a:hover {
 background: #ff0000;
}

.effects div {
 opacity: 0;
 background-color: rgba(0, 0, 0, 0.35);
 transition: all 0.4s ease-in-out;
 color: #000;
}

.effects img {
 transition: all 0.5s linear;
}

.effects:hover img {
 transform: scaleY(1);
 transition: all .7s ease-in-out;
 opacity: 0;
}

.effects:hover div {
 opacity: 1;
 background-color: rgba(255, 231, 179, 0.3);
}

Текст 2

Заголовок 2

Подробнее