テンプレート:テスト/style.css
div {
position: absolute;
}
.bound {
animation: key .3s ease infinite alternate;
}
@keyframes key {
0% {transform: translateY(0px);}
100% {transform: translateY(-50px);}
}
.spin {
animation: key .3s ease infinite alternate;
}
@keyframes key {
0% {transform: rotate(180deg);}
100% {transform: rotate(360deg);}
}