1
我有以下問題。我想重複使用相同的動畫兩次,在同一元素上有不同的延遲。我嘗試以下,但它不工作:爲同一元素調用兩次的CSS3動畫
.myClass{
-webkit-animation: animationName 1s linear 2s, animationName 1s linear 4s;
}
奇怪的,什麼我不明白的是,如果我創建第二個動畫,說「animationName2」用相同的內容,如animationName則以下將工作:
.myClass{
-webkit-animation: animationName 1s linear 2s, animationName2 1s linear 4s;
}
我錯過了什麼嗎?謝謝