Following some inspiration from @sir I've implemented CSS only expandable comments for my WIP reddit alternative.

@mariusor you can even avoid the CSS if you'd like -- check out the <details> and <summary> elements:

@doesntgolf Yes... my post was incomplete. The implementation from the video uses indeed <summary> and <details>. The only thing CSS was doing in a previous version was to append "collapse/expand" labels. :D

Sign in to participate in the conversation

Generalistic and moderated instance. All opinions are welcome, but hate speeches are prohibited. Users who don't respect rules will be silenced or suspended, depending on the violation severity.