Answers
参考 http://www.w3schools.com/html5/tag_su... ,想要隐藏 details 标签的带箭头的 "details",可以这样做:
<stlye> summary { display:none; } </style> <details open="open"> <p>If your browser supports this element, it should allow you to expand and collapse these details.</p></details>
解释:
- summary 元素包含的就是那个带箭头的 "details",用 CSS 隐藏掉就好
- 设置 open="open",这样 details 的内容默认是展开的
YY怪HD
answered 10 years, 9 months ago