📜  详细信息摘要未打开 css 代码示例

📅  最后修改于: 2022-03-11 14:47:27.382000             🧑  作者: Mango

代码示例1
details:not([open]) > *:not(summary),
details:not([open]) > *text* {
  /* any direct child elements other than summary, or any direct child text nodes */
  display: none;
}