I'm ashamed to say I'd have failed that interview as I rarely think of animations in CSS ...
That's one aspect that seems unfair about this question. Remembering the correct animation syntax on the spot.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.