0
我想知道是否有可能在每次動畫完成一個完整循環時出現錯開的循環動畫?錯開的無限CSS動畫
.hex{
animation: fio $animation-speed ease-in-out infinite;
transform: scale(.9);
opacity: 0;
&.one{
}
&.two{
animation-delay: $animation-speed * 1;
}
&.three{
animation-delay: $animation-speed * 2;
}
}
@keyframes fio{
0% {
opacity:0;
transform: scale(0.90);
}
50% {
opacity:1;
transform: scale(1.00);
}
100% {
opacity:0;
transform: scale(0.90);
}
}
正如你可以從代碼中看到,它是目前錯開第一次經歷的動畫,但之後,它只是淡入和淡出的所有3種元素在同一時間。是否有可能讓它在每個循環之後錯開?
如果您需要更多信息,請讓我知道。
謝謝!
沒問題。很高興我能幫上忙! – thepio