Why does this code need an unused expression to work?

Yes I believe it’s to restart the transition again.

You can see it more easily in a simpler codepen.

This CSS Tricks article is about ten years old and is the place I first saw it being used,

2 Likes