z-context: Stacking Contexts & z-Index Viewer
Extension stats
Ranking
Other platforms
Extension summary
Why use it? Browsers support a hierarchy of stacking contexts, rather than a single global one. This means that z-index values are often used incorrectly, and arbitrarily high values get set.
By Using Z-Context, you'll know:
- If the current element creates a stacking context, and why
- What its parent stacking context is
- The z-index value
v3.0.0 - Update to manifest v3 and update stacking context rules https://github.com/gwwar/z-context/pull/29 v2.1.0 - Includes http protocol to facilitate development use cases https://github.com/gwwar/z-context/pull/23 v2.0.0 - Adds support for inspecting iframes https://github.com/gwwar/z-context/pull/21 https://github.com/gwwar/z-context/pull/22 v1.1.0 - Adds z-index stacking context rules as of 2021. Adds fixes for position sticky and shadow dom, props to roperzh and edenilan! See pulls 10, 17 and 18 at https://github.com/gwwar/z-context. v1.0.4 - fixes will-change case. a stacking context is created for opacity/transform but not other values https://github.com/gwwar/z-context/pull/9 v1.0.3 - fixes display reason for flex-items https://github.com/gwwar/z-context/pull/4 v1.0.2 - adds new z-index rules, fixes a bug when inspecting a shadow dom elements. https://github.com/gwwar/z-context/pull/3 v1.0.1 - fix reason message for non-static positions, props to giuseppeg. https://github.com/gwwar/z-context/pull/1
User reviews
- Helpful for understanding and solving stacking context issues.
- Works after a browser restart.
- Extremely useful for web development.
- Doesn't work in multiple versions of Chrome without a restart.
- Often shows an empty panel or fails to load.
- Network request errors unrelated to functionality.
- Requires browser restart to function properly.
- Empty panel upon first installation.
- Not working in recent versions of Chrome.
User reviews
Extension safety
Risk impact
z-context requires a few sensitive permissions. Exercise caution before installing.
Risk likelihood
z-context has earned a good reputation and can be trusted.
Similar extensions
Here are some Chrome extensions that are similar to z-context: