<figure class="snip1500">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/331810/sq-sample14.jpg" alt="sq-sample14" />
<figcaption>
<div>
<h2>Pelican</h2>
<h4>Steve</h4>
</div>
</figcaption>
<a href="#"></a>
</figure>
<figure class="snip1500 hover"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/331810/sq-sample17.jpg" alt="sq-sample17" />
<figcaption>
<div>
<h2>Bailey</h2>
<h4>Wonger</h4>
</div>
</figcaption>
<a href="#"></a>
</figure>
<figure class="snip1500"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/331810/sq-sample31.jpg" alt="sq-sample31" />
<figcaption>
<div>
<h2>Penny</h2>
<h4>Tool</h4>
</div>
</figcaption>
<a href="#"></a>
</figure>
@import url(https://fonts.googleapis.com/css?family=Raleway:400,700);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
.snip1500 {
font-family: 'Raleway', Arial, sans-serif;
position: relative;
overflow: hidden;
margin: 10px;
min-width: 230px;
max-width: 315px;
width: 100%;
color: #ffffff;
text-align: center;
font-size: 16px;
background-color: #000000;
}
.snip1500 *,
.snip1500 *:before,
.snip1500 *:after {
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-transition: all 0.55s ease;
transition: all 0.55s ease;
}
.snip1500 img {
max-width: 100%;
backface-visibility: hidden;
vertical-align: top;
}
.snip1500 figcaption {
position: absolute;
top: 50%;
left: 50%;
padding: 5px 10px 10px;
opacity: 0;
-webkit-transform: rotate(45deg) translate(-50%, -50%);
transform: rotate(45deg) translate(-50%, -50%);
-webkit-transform-origin: 0 0;
-ms-transform-origin: 0 0;
transform-origin: 0 0;
}
.snip1500 figcaption:before,
.snip1500 figcaption:after {
height: 2px;
width: 400px;
position: absolute;
content: '';
background-color: #ffffff;
}
.snip1500 figcaption:before {
top: 0;
left: 10px;
-webkit-transform: translateX(100%);
transform: translateX(100%);
}
.snip1500 figcaption:after {
bottom: 0;
right: 10px;
-webkit-transform: translateX(-100%);
transform: translateX(-100%);
}
.snip1500 figcaption div:before,
.snip1500 figcaption div:after {
width: 2px;
height: 300px;
position: absolute;
content: '';
background-color: #ffffff;
}
.snip1500 figcaption div:before {
top: 10px;
right: 0;
-webkit-transform: translateY(100%);
transform: translateY(100%);
}
.snip1500 figcaption div:after {
bottom: 10px;
left: 0;
-webkit-transform: translateY(-100%);
transform: translateY(-100%);
}
.snip1500 h2,
.snip1500 h4 {
margin: 0;
text-transform: uppercase;
}
.snip1500 h2 {
font-weight: 400;
}
.snip1500 h4 {
display: block;
font-weight: 700;
background-color: #ffffff;
padding: 5px 10px;
color: #000000;
}
.snip1500 a {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.snip1500:hover img,
.snip1500.hover img {
zoom: 1;
filter: alpha(opacity=50);
-webkit-opacity: 0.5;
opacity: 0.5;
}
.snip1500:hover figcaption,
.snip1500.hover figcaption {
opacity: 1;
}
.snip1500:hover figcaption:before,
.snip1500.hover figcaption:before,
.snip1500:hover figcaption:after,
.snip1500.hover figcaption:after,
.snip1500:hover figcaption div:before,
.snip1500.hover figcaption div:before,
.snip1500:hover figcaption div:after,
.snip1500.hover figcaption div:after {
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
.snip1500:hover figcaption:before,
.snip1500.hover figcaption:before,
.snip1500:hover figcaption:after,
.snip1500.hover figcaption:after {
-webkit-transition-delay: 0.15s;
transition-delay: 0.15s;
}