animation-fill-mode: forwards
The div retains the style values from the last keyframe when the animation ends: