JSFiddle - React, Tailwind, and code Playground
by DeadByElpy
HTML
<div class="cell">
<a href="">
<span class="round">
<img src="http://moscow.megafon.ru/b-b2b-tileblock/i/spacer.png" alt="">
</span>
<div class="content">123123</div>
</a>
</div>
CSS
.cell {
width: 150px;
height: 150px;
display: inline-block;
margin: 100px;
}
.cell a {
margin: 0 10px 0 0;
background: #fff;
height: 100%;
display: block;
transition: box-shadow 0.3s;
text-decoration: none;
color: #333!important;
padding: 0 40px 0 13px;
overflow: hidden;
position: relative;
background-size: cover;
}
.round {
position: absolute;
left: 0;
top: 0;
margin-right: 6%;
margin-bottom: 6%;
overflow: hidden;
transform: translateZ(0);
width: 150%;
height: 150%;
}
.round:after {
background: #00985f;
content: "";
position: absolute;
border-radius: 50%;
transition: all 0.5s ease;
width: 0;
height: 0;
left: 50%;
top: 50%;
}
.cell:hover .round:after {
width: 100%;
height: 100%;
left: 0;
top: 0;
}
.round img {
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
margin: 0;
padding: 0;
width: 100%!important;
}