Details element for HTML accordion

An HTML first "accordion". Forget about using JavaScript and make it simple for yourself by utilising semantic HTML. You can also style the default arrow by targeting the :marker pseudo element.

  Stay Home Stay Safe!
Updated: 19 January 2022

I don't think this is as much of a big deal now but at one point there was a real security concern over using target="_blank" and leaving yourself vulnerable to attacks.

  rel="noopener noreferrer"
  DM me on Twitter.
Updated: 19 January 2022