Start
Install Offpx from the Chrome Web Store, open any site, then click the toolbar icon or press ⌥⇧I (Alt+Shift+I on Windows). The badge reads ON, the page moves onto a stage, and the panel opens beside it.
Nothing runs on a page until you do this. Click the icon again, or the ✕ in the panel, to turn it off.

Shortcuts
| Action | What happens |
|---|---|
| ⌥⇧I | Turns Offpx on or off in this tab |
| Hover | The panel reads type, spacing, layout and fill for whatever is under the cursor |
| Click | Locks the element as A, in blue |
| Hold ⌘ or Ctrl and hover | Shows the gap between A and that element, live |
| ⌘ or Ctrl + click | Keeps the measurement. The second element becomes B, in amber |
| ⌥ + scroll, or [ ] | Steps out to the parent element, or back in |
| U | Cycles px, rem and em |
| Click a value | Copies it |
| Esc | Clears the selection. It never closes the tool |
While inspecting, the page does not receive clicks, so you can measure a nav link without leaving the page. Switch the stage to Interact to use the page normally.
Measuring
Select one element, then hold ⌘ or Ctrl over another. The distance is drawn on the page as a dimension line, with extension lines so it is clear which edges it spans. Click with the key still held to keep it.
Measurements wait for the key on purpose. A line on every hover covers the page in numbers while you are only moving the mouse. Without the key, hovering shows a dashed outline of what a click would select, and nothing else.
The stage
Turning Offpx on moves the page onto a stage: the same URL, loaded in a frame beside the panel. It opens at Fit, the largest size the stage can show at 100%.
| Control | What it does |
|---|---|
| Interact / Inspect | Interact lets the page work as normal: open a menu, follow a link. Inspect is for hovering and measuring |
| Device icons | Mobile 390, Tablet 768, Desktop 1440, Large desktop 1920, or Fit |
| Size list | Named sizes for that device, from iPhone SE to iPad and MacBook, following Figma's frame presets |
| Width × height | Type any size from 240 to 3840 |
| Rotate | Swaps width and height |
| Frame handles | Drag the right or bottom edge, as in DevTools. Arrow keys nudge by 10px, or 50 with Shift |
A framed page has a real viewport, so media queries, vh units and container sizes all respond to the size you pick. It is a viewport, not a device: the user agent, touch input and pixel density stay your desktop's.

The panel
The panel is docked to the right edge at full height. It does not float, follow the cursor or change size, so your eye can stay in one place.
- px / rem / em converts every number at once.
- Dock moves the panel to the other edge, to reach what is under it.
- Theme switches light and dark.
- Section titles fold a section, and folded sections stay folded.
- The trail under the selection lists ancestors. Click one to select it.
- The footer says what the next click does.
Reaching the element you want
Most card grids stretch an invisible click target over the whole card, so a plain hover lands on it instead of the heading. Offpx skips overlays that paint nothing. For one that does paint, hold ⌘ or Ctrl before you select to reach the most specific element under the cursor, the way Figma selects through a group.
Design tokens
If the site is built on CSS custom properties, a colour reads as its token, --color-brand, with the hex underneath. Click the name to copy var(--color-brand) for code, or the hex for Figma.
A token is found by reading the stylesheet rule where it can be, and by matching values where it cannot. A value match is a guess, since two tokens can share a hex, so it is marked with a dotted underline.

Media
Hover an image or video to see the format the browser actually chose from srcset, the aspect ratio of the box and of the asset, and the asset scale: intrinsic size over rendered size. Below 1x looks soft; 2x is retina; 3x in a small slot is wasted bytes. Missing alt text is flagged.

What the numbers mean
- Two elements side by side or stacked: one gap, drawn between the facing edges.
- One element inside another: four numbers, one per edge, measured from the container's padding box. A 12px padding with a 1px border reads as 12px.
- Elements offset on both axes: the horizontal and vertical gaps separately, never a diagonal.
- rem resolves against the page's real root font size, not an assumed 16px.
- Values show two decimal places, which is where subpixel layout stops being useful.
Known limits
- The stage is a viewport, not a device. A site that serves different HTML to phones still serves the desktop one.
- The page loads twice on the stage, so analytics count a second page view and anything held only in memory, like an open modal, starts over. Your login carries across.
- Some sites refuse to be framed. Offpx removes that header for its own frame, so most still work. Where that is not enough, and on
file://pages, it inspects the page in place. - No network throttling. Chrome only offers it to extensions through a permission that warns on install. DevTools throttling works alongside Offpx.
- Iframes, canvas and WebGL are inspected as one element.
- Strict CSP sites may refuse the bundled fonts, and the panel falls back to system fonts.