I want to show some bit of tooltip when a word or phrase is clicked or hovered over. I wonder if this is available to do using just CSS? If not, then with JS?
I looked at https://kazzkiq.github.io/balloon.css/
but to my understanding Twine uses pseudo elements? I'm not sure where I read that, so don't quote me on that.
In Harlowe, I've included HTML like this:
Then, the basic CSS declarations that hide/show the tooltip are these:
And then, just add more CSS to .tooltip to style them. This is mine:
The corresponding CSS:
Modify the CSS to your taste.