JSFiddle - React, Tailwind, and code Playground

HTML

<div class="wrap">
		<figure class="smile boy">
			<div class="face">
				<div class="eye"></div>
				<div class="eye"></div>
				<div class="mouth"></div>
			</div>
		</figure>
		<div class="tie-all">
			<div class="wrap-tie"><div class="tie"></div></div>
			<div class="wrap-tie2"><div class="tie2"></div></div>
		</div>
	</div>
	<div class="wrap">
		<figure class="smile">
			<div class="tie-girl">
				<div class="wrap-tie"><div class="tie"></div></div>
				<div class="wrap-tie2"><div class="tie2"></div></div>
			</div>
			<div class="face">
				<div class="eye"></div>
				<div class="eye"></div>
				<div class="mouth"></div>
			</div>
		</figure>
	</div>

CSS

.wrap{
    width: 320px;
    height: 0px;
    -moz-transform: scale(.7);
    -ms-transform: scale(.7);
    -webkit-transform: scale(.7);
    -o-transform: scale(.7);
    transform: scale(.7);
    float: left;
    display: inline-block;
    margin-top: 50px;
    margin-left: -183px;
}
.wrap:first-child {
    margin-left: -70px;
}
.smile {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    box-shadow: inset -10px -30px rgba(0, 0, 0, 0.04);
    background: #fff;
    text-align: center;
    margin: 40px auto 0;
    -webkit-transform-origin: 50% 100%;
    -moz-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-animation: bobble 9.6s ease-in-out infinite;
    -moz-animation: bobble 9.6s ease-in-out infinite;
    animation: bobble 9.6s ease-in-out infinite;
}
@-webkit-keyframes bobble {
    0% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(5deg);
    }
}
@-moz-keyframes bobble {
    0% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(5deg);
    }
}
@keyframes bobble {
    0% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(5deg);
    }
}
.smile:last-child {
    position: absolute;
    margin-left: 60px;
}
.boy {
    margin-top: 40px;
    -webkit-animation: bobble 9.6s ease-in-out infinite, bobble-push 1s 4s forwards;
    -moz-animation: bobble 9.6s ease-in-out infinite, bobble-push 1s 4s forwards;
    animation: bobble 9.6s ease-in-out infinite, bobble-push 1s 4s forwards;
}
@-webkit-keyframes bobble {
    0% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(5deg);
    }
}
@-moz-keyframes bobble {
    0% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(-5deg);
    }
    100% {
        transform:...