Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
`display: contents` on `<details>`? - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
2y ago
•
5 replies
Zach Jensz
`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
CodePen
Zach
display: contents on
.
.
.
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
`<details>` element with `display:contents` broken in Chrome 131?
KP-C
Kevin Powell - Community / front-end
16mo ago
display contents use cases
KP-C
Kevin Powell - Community / front-end
16mo ago
problems with table and display: contents
KP-C
Kevin Powell - Community / front-end
3y ago
How to add Gap to Grid Elements that are "Display: Contents:
KP-C
Kevin Powell - Community / front-end
2y ago