How to inspect CSS spacing on a website.

When a layout feels right, the distance between its parts is doing real work. Inspect the element to see the margin, padding, and gap values the browser computes.

Start with the right element

  1. Open Tintstep beside the page and turn on Inspect.
  2. Click the card, section, or button whose spacing you want to study. If the first selection is only its text, select the surrounding element instead.
  3. Read its margins, padding, and gap in the side panel. Copy an individual value or a CSS snippet.

Margin is space outside an element's border. Padding is space between the border and its content. Gap separates children in a grid or flex layout. Inspecting the parent usually explains the distance between its children; inspecting a child explains the room inside it.

Match the relationship, not only the number

A button with generous horizontal padding feels different from a wider button made with a fixed width. A card with gap keeps the distance between its children consistent as text wraps. Read the surrounding layout before copying a value into your own CSS.

Switch between px and rem in Tintstep when you want to compare a computed size with a rem-based stylesheet. The browser computes the final length in the current page context; your own root font size can change the equivalent rem value.

Check the result at another width

Spacing changes across responsive layouts. After copying values, narrow your browser window and inspect the same region again. A good reference can use a different gap or padding at a smaller width, and a copied desktop value may crowd a phone layout.

Tintstep shows computed styles for reachable elements. It does not recover the site's original CSS source or token names. Use the values as measurements, then choose the rules that fit your own layout.