.box {
    width: 100px;
    height: 100px;
    background-color: red;
    position: relative;
    animation-name: box;
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-duration: infinite;
}

@keyframes box {
        0% {background-color:red; left: 0px; top: 0px; width: 100px; height: 100px;} 
        25% {background-color:orange; left: 200px; top: 0px; width: 25px; height: 25px;}  
        75% {background-color: blanchedalmond; left: 200px; top: 200px; width: 100px; height: 100px;}
        100% {background-color:blue; left: 0px; top: 0px; width: 100px; height: 100px; }
 }

.circle{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: greenyellow;
    position: relative;
    animation-name: circle;
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-duration: infinite;
}

@keyframes circle {
    0% { 
        border-radius: 50%;
        left: 0px; 
        top: 0px; 
        width: 100px; 
        height: 50px;
        background-color:greenyellow;
    } 
    25% {
        border-radius: 100%;
        left: 200px; 
        top: 0px; 
        width: 50px; 
        height: 50px;
        background-color:rgb(73, 238, 244);
    }  
    75% {
        border-radius: 100%;
        left: 0px; 
        top: 0px; 
        width: 50px; 
        height: 50px;
        background-color: rgb(255, 186, 186);
    }
    100% {
         border-radius: 50%;
         left: 200px; 
         top: 200px; 
         width: 50px; 
         height: 50px;
         background-color: greenyellow;
    }
}