View Single Post
Old 06-26-2025, 11:57 AM   #12
robertmchicago
Enthusiast
robertmchicago began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Apr 2025
Device: none
Quote:
Originally Posted by Slevin#7 View Post
I don't know whether this specific solution works with Kindle formats, so you would have to try.

This approach won't split the question-answer segment into two sections, but will show the answer directly under each question. It relies on a checkbox and its :checked pseudo selector to toggle the visibilty of the answer:

HTML
Code:

Thanks for the codes!
I tested them on different apps.
In Sigil, they work very well.
In Kindle Previewer, the answer is hidden, but clicking does not show it.
In ADE 2.0, the answer is already visible (it doesn't hide).
In Kobo Desktop, the answer is hidden, but clicking does not show it.
I wish these codes worked in all apps the same way they work in Sigil.
Thanks again!
robertmchicago is offline   Reply With Quote