body.pause * {
animation-play-state:paused !important;
-webkit-animation-play-state:paused !important;
}
I want to pause all css animations when there is a class ".pause" on body. It works fine in desktop but this doesn't work in ipad/iphone. I am testing it on ios8.
Another thing I noticed is, I am using steps animation and the above "pause" code pause the steps animation but completely ignore transform.
And noticed that this problem only occurred in ios Safari. Even Chrome in ios is fine.