Collapsible Sections in HTML


But first a demo...

Works great in GitHub! (click me)

Dipshit with a nine-toed woman. Dolor sit amet, consectetur adipiscing elit praesent ac magna. You don’t go out and make a living dressed like that in the middle of a weekday. Justo pellentesque ac lectus quis. Yeah. Roadie for Metallica. Speed of Sound Tour. Elit blandit fringilla a ut turpis praesent felis. Keep your ugly fucking goldbricking ass out of my beach community! Ligula, malesuada suscipit malesuada non, ultrices non urna sed orci ipsum, placerat id.

Code

<details>
  <summary>Click to expand...</summary>
  <p>Imagine this is the entire text of War and Peace.</p>
</details> 


Tweet