Experimenting with the <details> tag

Jun. 14th, 2025 12:02 pm
sanguinity: woodcut by M.C. Escher, "Snakes" (Default)
[personal profile] sanguinity
Experimenting with a thing [personal profile] pangolin20 advised over at [personal profile] gremdark's journal:

This is a "details" tag with no additional styling...
...and here is the additional detail inside the tag.


This is a "details" tag styled with "cursor:pointer"...
...and here is the additional detail inside the tag.


The second one has style="cursor:pointer" placed inside the details tag, and should make the whole thing more obviously interactable-with for mouse-users. (They should both be interactive via keyboard navigation.)

Edit: works as advertised! And with the second one, it is much more obvious that you can click both the arrow and the text and that something will happen if you do.
sanguinity: woodcut by M.C. Escher, "Snakes" (Default)
[personal profile] sanguinity
Got back late Sunday from a whirlwind trip back to Colorado for [personal profile] grrlpup's dad's Celebration of Life.

Whirlwind )

Profile

beanarie: (Default)
beanarie

February 2025

S M T W T F S
      1
2345678
9101112131415
16171819202122
23 2425262728 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 18th, 2025 09:34 am
Powered by Dreamwidth Studios