Animations that are frequently executed on the mobile side are very power hungry. But outside the screen
animation users can not see.The use of JS code can control the animation outside the screen is not
implemented, but this is too time-consuming.Consider adding an animation property that automatically
pauses the animation element beyond the screen.
demo:
animation: name duration timing-function delay iteration-count direction autostop;
transition: property duration timing-function delay autostop;