Stop Keyframe Animation JavaScript

// If you applied the animation the "body"
document.body.style.animationPlayState = "paused";
Ghaith Alzin