css结束的时候 立马执行一段js----面试题
2018-04-20 本文已影响0人
who_rong
document.getElementById('box').addEventListener('animationend', function() { alert(1) })
主要是使用animatioend方法
document.getElementById('box').addEventListener('animationend', function() { alert(1) })
主要是使用animatioend方法