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