`display: contents` on `<details>`?

https://codepen.io/zachjensz/pen/rNbwOdV
I would like to be able to stylistically hide a details element but it doesn't seem to be possible
Was this page helpful?