CSS animation doesn't restart when resetting class

后端 未结 8 1277
陌清茗
陌清茗 2020-12-01 14:58

I am using CSS shader + animation. My shader class is defined as follows:

.shader{
-webkit-filter :custom(url(v.vs) mix(url(f.fs) multiply destination-over),         


        
8条回答
  •  长情又很酷
    2020-12-01 15:44

    Try using this just after you apply the animation - given that "e" is your animated element:

    e.outerHTML = e.outerHTML;
    

提交回复
热议问题