私は偶数と奇数のnth-of-typeに遅延を適用していますが、遅延は常に問題なく同じであるという問題があります何。だから私が奇数に10秒、偶数に3秒を置くと、すべてのリンクで10秒になるでしょう。CSSアニメーション遅延はすべての要素に適用されません
a {
position: relative;
line-height: 200%;
display: inline-block;
text-transform: uppercase;
font-size: $header-link-size;
transform: scale(0);
animation: scaleIn .5s;
animation-fill-mode: both;
&:nth-of-type(even) {
animation-delay: 2s;
}
&:nth-of-type(odd) {
animation-delay: 3s;
}
@keyframes scaleIn {
from {
transform: scale(0);
}
to {
transform: scale(1);
}
}
}
CSSはあなたの関連するHTMLを提供することができ、正常に動作するようですか? – Marvin
@Marvin、http://codepen.io/anon/pen/ygoyQL、リンクのアニメーションの遅延をチェックすると、それはまだ同じであることがわかります。 –