JSFiddle - React, Tailwind, and code Playground

HTML

<figure>
    <img src="http://lorempixel.com/400/200/city/">
    <imgcaption>
    <p>ketika hidup ini penuh dengan musibah,dan ketika kita terpuruk dengan masalah. maka berdoalah untuk menyelesaikannya</p>
    </imgcaption>
    </figure>
    <figure>
    <img src="http://lorempixel.com/400/200/city/">
    <imgcaption>
    <p>ketika hidup ini penuh dengan musibah,dan ketika kita terpuruk dengan masalah. maka berdoalah untuk menyelesaikannya</p>
    </imgcaption>
    </figure>

CSS

body {
  text-align: center;
  font-family: sans-serif;
  font-size: 14px;
  background: #333;
  margin: 30px;
}
img {
  vertical-align: middle;
}
figure {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border: 2px solid #000;
  margin: 0;
}
imgcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
imgcaption p {
  margin: 0;
  padding: 15px 30px 15px 20px;
  background: #000;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  display: none;
  text-align: left;
}
imgcaption:after {
  content: 'i';
  display: block;
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  background: #000;
  background: rgba(0, 0, 0, .6);
  border-radius: 50%;
  color: #fff;
  color: rgba(255, 255, 255, .8);
  font-family: serif;
  font-style: italic;
  font-weight: bold;
  line-height: 20px;
  font-size: 15px;
}
imgcaption:hover:after {
  background: #fff;
  color: #000;
}

JavaScript

$('imgcaption').hover(function(){
    $('p', this).slideDown(200);
    }, function (){
    $('p', this).slideUp(200);
    });