Spoiler css snippet

I’m by no means an obsidian expert or an css wizard, but i have made an css snippet to make some “spoiler” text.

This code is based on this reddit comment

Feel free comment a better way

1 Like

Are you on desktop or mobile? Is hovering an option on your platform?

Desktop

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.