3 ms·
It’s worth noting here that it’s HTML that’s doing the actual heavy lifting here, rather than CSS—the CSS is just making it look prettier. Something like the v
by chrismorgan 4y ago
It’s worth noting here that it’s HTML that’s doing the actual heavy lifting here, rather than CSS—the CSS is just making it look prettier.
Something like the venerable checkbox hack is a case of CSS providing the functionality. That’s imperfect.
<details> is HTML providing the functionality. That’s the ideal.