@keyframes myAnimation {
  0%   {background-color: red;}
  25%  {background-color: yellow;}
  50%  {background-color: blue;}
  100% {background-color: green;}
}

body {
animation: myAnimation 4s infinite;
  width: 100px;
  height: 100px;
  background-color: red;
  animation-name: myAnimation;
  animation-duration: 0.1s;
  
}
@keyframes myAnimation2 {
  0%   {background-color:red; left:0px; top:0px;}
  25%  {background-color:yellow; left:200px; top:0px;}
  50%  {background-color:blue; left:200px; top:200px;}
  75%  {background-color:green; left:0px; top:200px;}
  100% {background-color:red; left:0px; top:0px;}
}

video:focus {
    animation: myAnimation2 4s infinite;
  width: 500px;
  position: relative;
  background-color: red;
  animation-name: myAnimation2;
  animation-duration: 4s;
}
audio{
  width: 100px;
  height: 100px;
  background-color: red;
  transition: width 2s, height 4s, background-color 3s;
}
audio:hover {
  width: 300px;
  height: 300px;
  background-color: orange;
  transform: rotate(45deg);
  transform: scale(1.5);
  transform: skewX(20deg);
}