Overview
Hover to see margin, padding, and gap overlays with pixel values
CSS Spacing Inspector lets you instantly visualize the spacing of any element on any webpage — just hover. No more opening DevTools and clicking through the box model. Hover over any element and immediately see its margin, padding, and gap values as color-coded overlays rendered directly on the page. How It Works 1. Click the extension icon to enable inspection 2. Hover over any element — overlays appear instantly 3. Click an element to freeze its overlays in place 4. Click a pixel label to copy the value to your clipboard 5. Press ESC to disable Features Color-Coded Overlays - Orange overlays for margin (outside the element) - Green overlays for padding (inside the element) - Blue overlays for gap (between flex/grid children) - Each overlay displays its pixel value as a label Gap Visualization Flex and grid containers get special treatment. CSS Spacing Inspector detects row-gap and column-gap and renders blue overlays between child elements, making it easy to see how gap affects layout. Works with single-direction flex, wrapped flex, and CSS Grid. Click to Copy Click any pixel label to copy the CSS value to your clipboard. A green flash confirms the copy. Perfect for quickly grabbing values to use in your own code. Inconsistency Detection Enable inconsistency detection to find spacing outliers among sibling elements in flex and grid containers. When one child has different margin or padding than its siblings, a red warning badge appears showing the expected vs. actual value. Great for catching accidental spacing inconsistencies in component libraries and design systems. Customizable Settings - Toggle inspection on/off - Show or hide pixel value labels - Show or hide gap overlays - Enable inconsistency detection (per-tab, not persisted) - Adjust overlay opacity Built for Performance - Overlays render at 60fps using requestAnimationFrame - Shadow DOM isolates extension styles from page styles - DOM writes are batched for minimal reflow - Sibling analysis capped at 20 elements to prevent slowdown Privacy CSS Spacing Inspector respects your privacy completely: - No data collection — we collect absolutely no data from you or the pages you visit - No network requests — the extension never phones home, never contacts any server - No analytics — no tracking, no telemetry, no usage statistics - All local — every computation happens entirely in your browser - No account required — install and use, nothing else needed - Open source — inspect the code yourself The only permission used beyond content script injection is storage (to remember your settings like opacity preference) and activeTab (to communicate between the popup and the page). Who It's For - Frontend developers debugging layout issues - Designers verifying spacing matches design specs - QA engineers checking visual consistency - Anyone who wants to understand how spacing works on a webpage Keyboard Shortcuts - ESC — Disable the inspector - Click element — Freeze overlays on that element - Click label — Copy the CSS value to clipboard - Click elsewhere — Unfreeze and resume hovering Support If you find this extension useful, consider supporting development: https://buymeacoffee.com/dyemane
0 out of 5No ratings
Details
- Version1.0.0
- UpdatedMarch 3, 2026
- Size15.29KiB
- LanguagesEnglish
- DeveloperWebsite
Email
dyemane@gmail.com - Non-traderThis 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
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