I just got familiar summary-details structure. For instance, the simple example:
<details>
<summary>Details</summary>
Something small enough to escape casual notice.
</details>
Which is very cool of course.
Now, is there a way to make the Details text switch to, say, Collapse once it is pressed and the details are shown?
Thanks!