テンプレート:テスト/style.css

div {
  position: absolute;
}
.bound {
  animation: bound .3s ease infinite alternate;
}
@keyframes bound {
  0% {transform: translateY(25px);}
  100% {transform: translateY(-25px);}
}
.updown {
  animation: updown .3s linear infinite alternate;
}
@keyframes updown {
  0% {transform: translateY(25px);}
  100% {transform: translateY(-25px);}
}
.spin1 {
  animation: spin1 .9s linear infinite normal;
}
@keyframes spin1 {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}
.spin2 {
  animation: spin2 .9s linear infinite normal;
}
@keyframes spin2 {
  0% {transform: rotate(360deg);}
  100% {transform: rotate(0deg);}
}