<div class="wrap">
<div class="circle"></div>
</div>
html,body{
height: 100%;
}
.wrap{
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
.circle{
background-color: #7fcce3;
border-radius: 50%;
padding-top: 10%;
width: 10%;
animation-name: puyopuyo;
animation-duration: 20.0s;
animation-timing-function: ease;
animation-iteration-count: infinite;
}
@keyframes puyopuyo{
0%{
border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;
}
14%{
border-radius: 40% 60% 54% 46%/49% 60% 40% 51%;
}
28%{
border-radius: 54% 46% 38% 62%/49% 70% 30% 51%;
}
42%{
border-radius: 61% 39% 55% 45%/61% 38% 62% 39%;
}
56%{
border-radius: 61% 39% 67% 33%/70% 50% 50% 30%;
}
70%{
border-radius: 50% 50% 34% 66%/56% 68% 32% 44%;
}
84%{
border-radius: 46% 54% 50% 50%/35% 61% 39% 65%;
}
100%{
border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;
}
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.