Inspect Mode

Inspect mode is the default when you activate Raval. Hover to see what is under the cursor, click to see everything about it — without opening DevTools.

How it works

  1. Activate Raval (Option+Shift+C on Mac, Alt+Shift+C elsewhere).
  2. Hover over the page. Elements are outlined and labelled with width × height; words of text are highlighted. An element with rounded corners is outlined along them and its label adds the radius, for example 200 × 48 · R 24. That is the radius as rendered, so a 9999px pill reads as half its height; the Box section of the details panel has the value as written.
  3. Click an element or a word to open its details.
  4. Click it again, click empty space, or press Esc to close the details.

The details panel

The panel opens next to what you clicked, with the tag and size at the top and one section open at a time:

  • Typography (when you click text) — font, size, weight, line height, and letter spacing, with a Copy CSS button.
  • Colours — text, background, and border colours in HEX, RGB, or HSL. Press F to cycle the format.
  • Box — margin, border, padding, and corner radius.

Spacing

Turn on Show spacing in the options card, or press B, and the element you click is drawn with its spacing on it:

  • Padding as a light tint and margin as diagonal lines, each side labelled in px.
  • For a flex or grid container, the gaps between its children as a stronger tint.

All three are drawn in the colour you picked for Raval's marks.

Clicking a word shows the spacing of the element that holds it. The setting is off by default and is remembered.

Click any value to copy it. A closed section previews its contents in its header.

Rulers

Enable Rulers in the options card, or press R, to show pixel rulers along the viewport edges.