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: developer.mozilla.org/en-US/do

@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

@wakest it's still a far way to go though. I barely have something non-federated working at the moment.

Some crucial features are not activitypub powered - like Up/Down-voting and submission/commenting, there's no security, no admin features, barely some semblance of user accounts.

But I'm making a little progress every day, even if it's with something as unimportant as HTML/CSS expandos. :D

Sign in to participate in the conversation
Mastodon

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.