There is a helluva gotcha with styling a <details> element, as documented here by Kitty Giraudel. It's obscure enough that you might never run into it, A learning community for front-end design and development There is a helluva gotcha with styling a <details> element, as documented here by Kitty Giraudel.
