Category: details/summary

Quick Reminder that Details/Summary is the Easiest Way Ever to Make an Accordion

Gosh bless the <details> element. Toss some content inside it and you have an accessible expand-for-more interaction with just about zero work. See the Pen Simple details. by Chris Coyier (@chriscoyier) on CodePen. Toss a <summary> in there to customize what the expander text says. See the Pen Multiple De...