应用截图

详细介绍

一个 Chrome DevTools 扩展程序,在元素面板中显示层叠上下文和 z-index 值。 为什么使用它?浏览器支持层叠上下文的层级结构,而不是单一的全局层叠上下文。这意味着 z-index 值经常被错误使用,并被任意设置为很高的值。 使用 Z-Context,你将了解: - 当前元素是否创建了层叠上下文,以及原因 - 它的父级层叠上下文是什么 - z-index 值 -------- v3.0.0 - 更新至 manifest v3 并更新层叠上下文规则 https://github.com/gwwar/z-context/pull/29 v2.1.0 - 支持 http 协议,以方便开发场景使用 https://github.com/gwwar/z-context/pull/23 v2.0.0 - 增加对检查 iframe 的支持 https://github.com/gwwar/z-context/pull/21 https://github.com/gwwar/z-context/pull/22 v1.1.0 - 添加截至 2021 年的 z-index 层叠上下文规则。修复 position sticky 和 shadow dom 的问题,感谢 roperzh 和 edenilan!请参阅 https://github.com/gwwar/z-context 上的第 10、17 和 18 号拉取请求。 v1.0.4 - 修复 will-change 情况。opacity/transform 会创建层叠上下文,其他值则不会 https://github.com/gwwar/z-context/pull/9 v1.0.3 - 修复 flex-items 的显示原因 https://github.com/gwwar/z-context/pull/4 v1.0.2 - 添加新的 z-index 规则,修复检查 shadow dom 元素时的错误。https://github.com/gwwar/z-context/pull/3 v1.0.1 - 修复非 static 定位的原因消息,感谢 giuseppeg。https://github.com/gwwar/z-context/pull/1