Y
Hacker News
new
|
ask
|
show
|
jobs
by
identity0
2028 days ago
I remember implementing the comment collapsing thing without JS, you have the "[-]" be a label for a checkbox button, and then you just use CSS to hide the sections for which the checkbox is checked.