如题,比如想实现animation播放到50%就暂停,或者设置直接从90%开始之类的。
播放到50%暂停 用 animation-iteration-count : 0.5 ,就是只循环0.5次的意思。
从90%开始,用 animation-delay : -0.9s , 这个需要你根据具体时间计算,如果整个动画是1s,就设置成0.9s
如题,比如想实现animation播放到50%就暂停,或者设置直接从90%开始之类的。
播放到50%暂停 用 animation-iteration-count : 0.5 ,就是只循环0.5次的意思。
从90%开始,用 animation-delay : -0.9s , 这个需要你根据具体时间计算,如果整个动画是1s,就设置成0.9s