JSFiddle - React, Tailwind, and code Playground
HTML
<div class="view view-sixth">
<img src="https://lh3.googleusercontent.com/-s5GLpIZE_hA/Usl13KpTc8I/AAAAAAAAAXQ/hM4P0GanEhM/w1223-h678-no/1.jpg" />
<div class="mask">
<h2>Hover Style</h2>
<p>A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which I enjoy with my whole heart... <a href="#">Read More</a></p>
</div>
</div>
CSS
.view {
width: 500px;
height: 277px;
margin: 10px;
float: left;
border: 10px solid #fff;
overflow: hidden;
position: relative;
text-align: center;
-webkit-box-shadow: 1px 1px 2px #e6e6e6;
-moz-box-shadow: 1px 1px 2px #e6e6e6;
box-shadow: 1px 1px 2px #e6e6e6;
cursor: default;
background: #fff url(../images/bgimg.jpg) no-repeat center center;
}
.view img {
width: 100%;
height: 100%;
}
.view .mask,.view .content {
width: 100%;
height: 100%;
position: absolute;
overflow: hidden;
top: 0;
left: 0;
}
.view img {
display: block;
position: relative;
}
.view h2 {
text-transform: uppercase;
color: #fff;
text-align: center;
position: relative;
font-size: 17px;
padding: 10px;
background: rgba(0, 0, 0, 0.8);
margin: 20px 0 0 0;
}
.view p {
font-family: Georgia, serif;
font-style: italic;
font-size: 12px;
position: relative;
color: #fff;
padding: 10px 20px 20px;
text-align: center;
}
.view a.info {
display: inline-block;
text-decoration: none;
padding: 7px 14px;
background: #000;
color: #fff;
text-transform: uppercase;
-webkit-box-shadow: 0 0 1px #000;
-moz-box-shadow: 0 0 1px #000;
box-shadow: 0 0 1px #000;
}
.view a.info: hover {
-webkit-box-shadow: 0 0 5px #000;
-moz-box-shadow: 0 0 5px #000;
box-shadow: 0 0 5px #000;
}
.view-sixth img {
transition: all 0.4s ease-in-out 0.5s;
}
.view-sixth .mask {
background-color: rgba(146,96,91,0.4);
opacity: 0;
transition: all 0.3s linear 0.5s;
}
.view-sixth h2 {
opacity: 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.4);
background: transparent;
margin: 20px 40px 0px 40px;
-webkit-transform: scale(10);
transform: scale(10);
transition: all 0ms ease-in-out 0.5s;
}
.view-sixth p {
opacity: 0;
-webkit-transform: translateY(-70px);
transform: translateY(-70px);
opacity: 0;
transition: all 0.3s ease-in-out 0.5s;
}
.view-sixth a.info {
opacity:...