html - 如何禁用 chrome 详细信息标签默认行为

标签 html google-chrome

在 Chrome 中

我想使用详细信息标签 <details>details</details> .

但我不需要他的默认行为。

我如何禁用它?

http://jsfiddle.net/x8csg/

最佳答案

summary::-webkit-details-marker {
    display: none;
}

http://jsfiddle.net/x8csg/1/

关于html - 如何禁用 chrome 详细信息标签默认行为,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8352867/

相关文章:

css - Chrome 和 Opera 的抗锯齿

jquery - 你能在 iPad 上自动播放 HTML5 视频吗?

html - 在 div 中居中对齐文本

html - 将背景添加到一行文本的第一个字母。如何?

javascript - 将 javascript 和 css 内联放在一个缩小的 html 文件中以提高性能?

java - 与 Chrome 和 Firefox 不同的 ${pageContext.response.locale}

html - li 之间不需要的空格

javascript - 打开没有标签和其他菜单项并设置屏幕位置和大小的 Chrome 或 Firefox

google-chrome - Chrome 无法释放内存,垃圾回收没有按预期进行(Mootools/MochaUI 库)

google-chrome - 如何直接修改 Google Chrome 扩展文件? (.CRX)