JSFiddle - React, Tailwind, and code Playground

by Vitaliy

HTML

<div class="elemButton1"></div>

CSS

.elemButton1, .elemButton2, .elemButton3, .elemButton4 {
    position: relative;
    z-index: 1;
    border-radius: 50%;
    background-size: 150px 150px;
    background-repeat: no-repeat;
    cursor: pointer;
    display: inline-block;
    height: 150px;
    width: 150px;
    margin: 0px 10px 0px 10px;
}
.elemButton1::after {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 0 solid rgba(71, 203, 255, 0.7);
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-transition: border-width .3s linear;
       -moz-transition: border-width .3s linear;
            transition: border-width .3s linear;
}
.elemButton1:hover::after {
    border-width: 50px;
}
.elemButton1 {
    background-image: url(http://www.inflora.ru/img/birthday-smiley1.jpg);
}