jquery remove class after css animation played?

后端 未结 6 1714
甜味超标
甜味超标 2021-01-04 11:06

I have the css code:

body.start{-webkit-animation:srcb ease-in .4s 1;}

and just play once when entered the website

but the problem

6条回答
  •  迷失自我
    2021-01-04 11:58

    Try

    webkitAnimationEnd oanimationend msAnimationEnd animationend
    

    instead of

    transitionend MSTransitionEnd webkitTransitionEnd oTransitionEnd
    

    This worked for me.

提交回复
热议问题