Helps inspecting the css stacking contexts and solving the z-index war.
CSS Stacking Context inspector Extension
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.16 - Added check for container queries (thanks @gismya !)
• 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.
Source Manifest.json
How to download and manually install CSS Stacking Context inspector extension for Chrome
Looking for a way to install CSS Stacking Context inspector extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.
However, you may need to install CSS Stacking Context inspector extensions manually, this article outlines two simple methods to effortlessly install CSS Stacking Context inspector extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download CSS Stacking Context inspector extension and manually install through Drag &Drop
If you ever need to manually install a CSS Stacking Context inspector extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.
Step 1: Download the CSS Stacking Context inspector Extension by clicking the "Download CRX" button on the website.
Look for the CSS Stacking Context inspector extension you wish to install. Go to the website and download the CSS Stacking Context inspector extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for CSS Stacking Context inspector extension that contains all the data.
Step 2: Extract &Arrange Files
Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.
Step 3: Go to the Chrome Extensions Page
Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.
Step 4: Drag and Drop the Extension
Now, go to the folder where you extracted the CSS Stacking Context inspector extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.
Step 5: Complete the Installation
Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.
Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.
Method 2: Download CSS Stacking Context inspector extension for Chrome and install in Developer Mode
This is another method to install CSS Stacking Context inspector extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.
Step 1: Download the CSS Stacking Context inspector extension file
Select and download the CSS Stacking Context inspector extension by clicking the 'Download CRX' button on the website.
Step 2: Extract the downloaded contents
Convert the file to a ZIP file if it is in CRX format then extract the CSS Stacking Context inspector extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your CSS Stacking Context inspector extension running.
Step 3: Open Chrome Extension Setting Page
In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.
Step 4: Enable Developer Mode
After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.
Step 5: Load the Unpacked Extension
Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."
Step 6: Select the Extension Folder
Once the pop-up opens upon clicking Load unpacked, select the CSS Stacking Context inspector extension directory and click on the "Select Folder "button.
Step 7: Confirm and Install
After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.
Conclusion
Here we've made a step-by-step guide on How to manually install CSS Stacking Context inspector extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
z-context 9,000+ 42 ★ 30.48KiB
DevTools z-index 9,000+ 13 ★ 22.53KiB
Web Vitals 9,000+ 43 ★ 398KiB
Motion DevTools 9,000+ 8 ★ 788KiB
Codopen 9,000+ 9 ★ 18.88KiB
Z-index Visualizer 9,000+ 0 ★ 97.5KiB
daily.dev | The homepage developers deserve 9,000+ 2460 ★ 2.28MiB
Atomic CSS Devtools 9,000+ 15 ★ 196KiB
VisBug 9,000+ 252 ★ 5.38MiB
WAVE Evaluation Tool 9,000+ 143 ★ 344KiB
Testing Playground 9,000+ 60 ★ 646KiB
axe DevTools - Web Accessibility Testing 9,000+ 114 ★ 2.89MiB
Refined GitHub 9,000+ 213 ★ 572KiB
Apollo Client Devtools 9,000+ 266 ★ 490KiB
Redux DevTools 9,000+ 726 ★ 1.2MiB
GraphQL Network Inspector 9,000+ 123 ★ 8.34MiB
Angular DevTools 9,000+ 159 ★ 3.2MiB
LocatorJS 9,000+ 64 ★ 190KiB
OctoLinker 9,000+ 110 ★ 184KiB
React Context DevTool 9,000+ 21 ★ 2.35MiB
MobX Developer Tools 9,000+ 51 ★ 682KiB
Dimensions 9,000+ 454 ★ 17.28KiB
Accessibility Insights for Web 9,000+ 37 ★ 3.62MiB
Dimensions Inspect | Gridman 9,000+ 87 ★ 816KiB
User reviews
Martin Parets (ID: 0000003b3ffc36c8) Voted 1 ★ - Updated 08/03/2023
Austin Tackaberry (ID: 000000f84c517b53) Voted 1 ★ - Updated 07/16/2023
Kelime (ID: 0000003669da6835) Voted 1 ★ - Updated 01/28/2023
Ali Kayn (ID: 000000b06a932940) Voted 1 ★ - Updated 10/12/2022
Tyler Fahey (ID: 0000008307c41c37) Voted 5 ★ - Updated 09/01/2022