JSFiddle - React, Tailwind, and code Playground
by Max Belov
HTML
<div class="portfolio">
<a href="#">
<img src="http://themegoodsthemes-pzbycso8wng.stackpathdns.com/grandtour/landing/wp-content/uploads/2017/08/demo1_booking_wpp-705x707.png" alt>
</a>
</div>
CSS
.portfolio {
}
.portfolio:after {
content: "";
display: block;
position: absolute;
top: 50%;
left: 50%;
z-index: 75;
width: 26px;
height: 26px;
margin-top: -13px;
margin-left: -13px;
border-radius: 100px;
border: 3px solid;
border-left-color: rgba(256,256,256, 0.7);
border-top-color: rgba(256,256,256, 0.7);
border-right-color: rgba(256,256,256, 0.2);
border-bottom-color: rgba(256,256,256, 0.2);
opacity: .8;
-moz-transition: opacity 150ms ease;
-o-transition: opacity 150ms ease;
-webkit-transition: opacity 150ms ease;
transition: opacity 150ms ease;
-moz-animation: spin 0.45s infinite linear;
-webkit-animation: spin 0.45s infinite linear;
animation: spin 0.45s infinite linear;
}
.portfolio img{
}
.portfolio a{
-webkit-transition: color .2s linear, background .1s linear;
-moz-transition: color .2s linear, background .1s linear;
-ms-transition: color .2s linear, background .1s linear;
-o-transition: color .2s linear, background .1s linear;
transition: color .2s linear, background .1s linear;
width: 100%;
height: auto;
max-width: 100%;
display: block;
position: relative;
visibility: hidden;
-webkit-box-shadow: 0 1px 40px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 1px 40px rgba(0, 0, 0, 0.5);
box-shadow: 0 1px 40px rgba(0, 0, 0, 0.5);
-webkit-transition-duration: 0.2s;
-moz-transition-duration: 0.2s;
-o-transition-duration: 0.2s;
transition-duration: 0.2s;
}