-
I love how simple of a solution
hidden="until-found"
(possibly paired with thebeforematch
event if you need to) is for JavaScript-based collapsible content: developer.chrome.com/articles/hidden-until-found/. Now in Wikipedia pages: ⤵️. x.com/JosephArhar/status/1567279577160126464