CSS Stacking Context inspector
Item logo image for CSS Stacking Context inspector

CSS Stacking Context inspector

Featured
3.9(

19 ratings

)
Item media 1 screenshot
Item media 2 screenshot

Overview

Helps inspecting the css stacking contexts and solving the z-index war.

Have you ever tried to use the z-index property, just to find out that, no matter how high you set it, it won't work as expected? That's because the z-index property relies on an implicit concept called "stacking contexts". After looking up what they are and how they work (informations you can find on MDN), you can use this devtools extension to inspect these contexts and troubleshoot any z-index problem you might face. This extension will add a new panel that will show stacking contexts in a tree view, and will also append a new sidebar to the elements panel with some useful information about the selected element. To check an in-depth documentation please refer to the github page: https://github.com/andreadev-it/stacking-contexts-inspector If you want to report an issue or to make a feature request, please use the Issue section in the aforementioned github repository. CHANGELOG: • v. 1.1.15 - Switched to scripting api and added support for pseudoelements. • v. 1.1.14 - Fixed problem with permission for manifest v3. • v. 1.1.13 - Moved to manifest v3. Added z-index to the stacking context panel sidepan as well. • v. 1.1.12 - Fixed bug with vendor-prefixed properties not detected when checking for stacking contexts. • v. 1.1.11 - Added z-index value to the "Context details" section in the sidebar. • v. 1.1.10 - Removed unnecessary permission request to comply to the CWS Security Policy. • v. 1.1.9 - Implemented context DOM node inspection within iframes and shadowDOM. Now the extension works also on local files (file:/// scheme). • v. 1.1.8 - Added warning when the page changes, support for shadow DOM and basic settings. • v. 1.1.7 - Little style fixes. Now it's also available on Firefox because of some little code changes. Cleaned code. • v. 1.1.5 - Fixed bug related to css modules transition (unstyled spinner). • v. 1.1.4 - Added dark theme (previously it was unusable with the dark theme on). • v. 1.1.3 - Fixed bug on page navigation. • v. 1.1.2 - Added support for iframes without the "src" attribute (some iframes with "src" might work, but it shouldn't be expected). Also, the loading indicator has been introduced in the sidebar (elements panel) too, and the sidebar now has its own "refresh contexts" button. • v. 1.1.1 - Fixed bug where static contexts created by their parent having a display flex or grid where not detected. • v. 1.1.0 - Now the extension works on tabs that were already open when it was installed. - The right-click context menu has been replaced by contextual buttons, because it wasn't working correctly (it might be added again in the future). - Now the context tree page will show a loading indicator when the stacking context are taking a long time to load. - On the developer side, all the code has been moved to preact, as a first step to make it open source. • v. 1.0.1 - Small accessibility changes and visual tweaks.

3.9 out of 519 ratings

Google doesn't verify reviews. Learn more about results and reviews.

Review's profile picture

Tomas MartinezMay 6, 2024

Incredibly useful both for debugging and visualizing stacking contexts, saved me a ton of time and work!!!

Review's profile picture

Facundo GarciaApr 5, 2024

This was very helpful, thanks!

Review's profile picture

Teodor RuschevMar 16, 2024

Works perfectly on Version 122.0.6261.129 (Official Build) (64-bit)! Thank you for that.

Details

  • Version
    1.1.15
  • Updated
    August 18, 2023
  • Offered by
    Andrea Dragotta
  • Size
    151KiB
  • Languages
    English (United States)
  • Developer
    Email
    dev@andreadev.it
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has disclosed that it will not collect or use your data.

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes

Support

For help with questions, suggestions, or problems, visit the developer's support site

Related

VisBug

4.8(233)

Open source browser design tools

WAVE Evaluation Tool

4.1(138)

Evaluate web accessibility within your browser.

Testing Playground

4.5(52)

Simple and complete DOM testing playground that encourage good testing practices.

Accessibility Insights for Web

4.7(35)

Accessibility Insights for Web helps developers quickly find and fix accessibility issues.

z-context

3.5(41)

A Chrome DevTools Extension that displays stacking contexts and z-index values in the elements panel

DevTools z-index

3.5(13)

Print all elements with z-index sorted by that number.

Gridman - front-end toolkit

4.1(95)

Swiss army knife for front-end developers

Web Vitals

4.1(40)

Measure metrics for a healthy site

Motion DevTools

4.4(7)

Inspect, edit and export animations made with CSS and Motion One.

Codopen

4.8(9)

Easy-peasy debugging of all your codepen codepens!

daily.dev | The homepage developers deserve

4.9(2.2K)

Get one personalized feed for all the knowledge you need as a developer.

DOM Treemap

5.0(3)

Helps you explore the distribution of DOM nodes in the document tree.

VisBug

4.8(233)

Open source browser design tools

WAVE Evaluation Tool

4.1(138)

Evaluate web accessibility within your browser.

Testing Playground

4.5(52)

Simple and complete DOM testing playground that encourage good testing practices.

Accessibility Insights for Web

4.7(35)

Accessibility Insights for Web helps developers quickly find and fix accessibility issues.

z-context

3.5(41)

A Chrome DevTools Extension that displays stacking contexts and z-index values in the elements panel

DevTools z-index

3.5(13)

Print all elements with z-index sorted by that number.

Gridman - front-end toolkit

4.1(95)

Swiss army knife for front-end developers

Web Vitals

4.1(40)

Measure metrics for a healthy site

Google apps