我有這樣的代碼,我想停下來的前5秒環路之間的動畫, 我用Google搜索,發現只需旋轉(無延遲)停止動畫循環CS之間
.line-1{
border-left: 2px solid rgba(255,255,255,.75);
white-space: nowrap;
overflow: hidden;
\t direction:ltr;
}
/* Animation */
.anim-typewriter{
\t animation: typewriter 4s steps(44) 1s infinite normal both,
\t \t \t \t blinkTextCursor 500ms steps(44) infinite normal;
}
@keyframes typewriter{
\t from{width: 0;}
\t to{width: 24em;}
}
@keyframes blinkTextCursor{
\t from{border-left-color: rgba(255,255,255,.75);}
\t to{border-left-color: transparent;}
}
<p class="line-1 anim-typewriter" style="margin-left:auto;margin-right:auto;">Good News: You Won :)<a href="Awards/"> Get Award </a></p>
哈謝謝它是我的工作:* thaaaaaaaaaanks:X – Joel