How does animationend monitor one of two animations?

problem description

my two CSS animation animations are written in shorthand once, the animated move ends in 5s, and the animated go is innumerable loops.
what I want to achieve is that when the animation move ends, it stays at the last frame, and then the go stops playing in a loop.
if you are listening with end events, it should be triggered countless times, because the time interval for go to play is only 0.5s.
could you tell me how to solve this problem?

related codes

animation: move 8s 1s linear forwards, go 1s 0s linear infinite;
The parameters of the

callback function have animation property names.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35d62-2bfc0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35d62-2bfc0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?