JSFiddle - React, Tailwind, and code Playground

HTML

<div class="container">
    <div class="ball"></div>
</div>

CSS

@-moz-keyframes bouncing {
 0% {
    width:0px;
    height: 0;
    -moz-animation-timing-function: ease-in;
 }
 100% {
    width:200px;
    height:200px
    -moz-animation-timing-function: ease-in;

.container {
    position: relative;
    width: 200px;
    height: 200px;
    background-color: #eee;
    border: 1px solid #444;
}

.ball {
    position: absolute;
    background-color: red;
    height: 20px;
    width: 20px;

    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;

    -webkit-animation: 2s linear 0s normal none 15 bouncing;
    -moz-animation: 2s linear 0s normal none 15 bouncing;
    -ms-animation: 2s linear 0s normal none 15 bouncing;
    animation: 2s linear 0s normal none 15 bouncing;
}