If you mean that the result of the animation disappears when it ends, then the following code should fix your issue:
.animate-on-load {
animation: fadeIn 1s ease-out forwards;
}
If I misunderstood your problem, then the issue is not reproducible.