テンプレート:テスト/style.css
div {
position: absolute;
}
.bound {
animation: bound .3s ease infinite alternate;
}
@keyframes bound {
0% {transform: translateY(0px);}
100% {transform: translateY(-50px);}
}
.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);}
}