오늘 밤 Firefox 용 CSS 유형 작성 애니메이션을 수정하려고했습니다. 지금까지 성공하지 못했습니다. Chrome 코드가 작동합니다. 내가 뭘 놓친거야?Firefox 용 CSS 입력 애니메이션이 작동하지 않습니다.
.css-typing
{
width: 680px;
white-space: nowrap;
overflow: hidden;
-webkit-animation: type 3s steps(50, end);
animation: type 3s steps(55, end);
-o-animation: type 5s steps(50, end);
-moz-animation: type 3s steps(55, end);
}
@keyframes type
{
from { width: 0; }
}
@-moz-keyframes type
{
from { width: 0; }
}
@-webkit-keyframes type
{
from { width: 0; }
}
이 코드에 의해 정의되어야하는 사업부는 다음과 같습니다
<div class='css-typing'>This text will pop up using an typewriting effect</div>
사람이 내 실수를 발견 하는가?
'div'에'.css-typing'이 없다는 사실 외에는? – TricksfortheWeb
typo ... 언급했듯이, 크롬에서 작동합니다. –