HTML
<div class="div"></div>
CSS
.div {
width: 100px;
height: 100px;
background: red;
border-radius: 50%;
animation: beat 1.5s infinite;
}
@keyframes beat {
from {
width: 100px;
height: 100px;
}
to {
width:120px;
height:120px;
}
}