* {
    background-color: gray;
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

@keyframes myFirstAnimation {
    0% {left: 25px; top: 25px;}
    50% {left: 100px; top: 400px; background-color: green; border-radius: 50%;}
    100% {left: 400px; top: 50px;}
}

body {
    height: 500dvh;
}

div.animation {
    --playstate: running;
    --size: 100px;
    position: fixed;
    left: 25px;
    top: 25px;
    width: var(--size);
    background-color: white;
    aspect-ratio: 1;
    animation-name: myFirstAnimation;
    animation-play-state: var(--playstate);
    animation-duration: 1s;
    animation-delay: 3s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

div.transition {
    --color: yellow;
    --rotation: 0deg;
    position: fixed;
    right: 25px;
    top: 25px;
    width: 100px;
    background-color: var(--color);
    transform: rotate(var(--rotation));
    transition-property: background-color,transform;
    transition-duration: 3000ms,200ms;
    transition-timing-function: linear, ease-in-out;
    aspect-ratio: 1;
}


div.noanimation {
    --color: red;
    --rotation: 0deg;
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 200px;
    background-color: var(--color);
    transform: rotate(var(--rotation));
    aspect-ratio: 2/1;
}
