Spoiler css snippet

In the thread below a blurring is used:

I wrote a similar version related to anki Q&A’s, see answer below. This could also be adjusted to show/reveal different parts related to what’s hovered.