0
看着Animista.net我想写一些自定义的CSS动画。所以我想我会尝试使用他们的一个例子,然后调整它以供我个人使用。CSS动画不适用于div
.box {
width: 100px;
height: 100px;
background-color: red;
\t -webkit-animation: fade-in 1.2s steps(80, end) both;
\t -moz-animation: fade-in 1.2s steps(80, end) both;
\t animation: fade-in 1.2s steps(80, end) both;
}
<div class="box"></div>
但我不能让动画在所有的工作。
我在做什么错?