DEV Community

loading...

Discussion on: 10 HTML Elements You Didn't Know You Needed

Collapse
felipperegazio profile image
Felippe Regazio • Edited

Awesome Emma, thank you! I would like to add one of my favorites:

<details>
      <summary>Click To Open</summary>
      Hey, im natively collapsable. My content remains hidden till you click on Summary.
</details>
Enter fullscreen mode Exit fullscreen mode
Collapse
gitvitor profile image
Collapse
harryadney profile image
Martin Dimmock

Nice. Needs a polyfill though.

Collapse
felipperegazio profile image
Felippe Regazio

True. But nice yet ;P