.circle{
  width: 200px;
  height: 200px;
  color: #000000;
  background-color: orange;
  padding: 40px;
  border: 1px solid gray;
  border-radius: 50%;
  position: relative;
  text-align: center;
  font-size: 40px;
}

.multiple-h{
  animation: move-h 3s linear infinite alternate,
    shape 3s ease-out infinite alternate;
}

.multiple-v{
  animation: move-v 3s linear infinite alternate,
    shape 3s ease-out infinite alternate;
}

@keyframes move-h {
  0% {background-color: orange; left: 200px; top: 0px;}
  25% {background-color: green; color: white; left: 0px; top:0px;}
  50% {background-color: white; color: black; left: 200px; top: 0px;}
  100% {background-color: red; color: white; left: 0px; top: 0px;}
}

@keyframes move-v {
  0% {background-color: red; color: white; left: 0px; top: 0px;}
  25% {background-color: white; color: black; left: 0px; top:200px;}
  50% {background-color: green; color: white; left: 0px; top: 0px;}
  100% {background-color: orange; left: 0px; top: 0px;}
}

@keyframes shape {
  0%{transform: scale(.3);}
  25%{transform: scale(.5);}
  100%{transform: scale(1);}
}