Hey guys, new to Twine - very new to coding too - and I'm struggling a bit with something. On Sugarcube 2.18 btw.
How can I have an image (which, when clicked, sends you to a different passage) have a mouseover effect (swapping between two images as the mouse hovers on and then off again)
At the moment all I have is this:
[img[ed/main.png][BEGIN0]]
and have an alternate imagine (main2.png) in the same folder that I want it to switch to when I mouseover. I've looked up a couple of similar requests but they're not on sugarcube 2.x so it doesn't seem to help.
Comments
Then, in your CSS:
Example HTML is attached; the image is a white heart, while the background is a red heart. When you hover, the white heart disappears, making it look like it's changing colors or filling in.