我有一个4部分的CSS3动画点击播放-但动画的最后一部分是为了把它从屏幕上删除。
然而,一旦它玩完了,它总是会回到它的原始状态。任何人知道如何停止它在它的最后一个css帧(100%),或者如何摆脱整个div,一旦它已经播放。
@keyframes colorchange {
0% { transform: scale(1.0) rotate(0deg); }
50% { transform: rotate(340deg) translate(-300px,0px) }
100% { transform: scale(0.5) rotate(5deg) translate(1140px,-137px); }
}
https://stackoverflow.com/questions/4359627
复制相似问题