Analyze Border Radii and Shadows from a Live Website

A practical method for comparing corner shapes, borders, and shadows across a live website and turning repeated observations into useful CSS tokens.

analyze border radii and shadows from a live website

The fastest way to analyze border radii and shadows is to compare the same component types across a page, record what repeats, and separate visible evidence from assumptions. Start with buttons, inputs, cards, panels, menus, dialogs, images, and tooltips. For each one, note the corner shape, border, shadow position, softness, and background behind it.

Start with repeated components

Use a consistent checklist:

  1. Buttons and controls: Decide whether corners are square, gently rounded, pill-shaped, or mixed by size and purpose.
  2. Cards and panels: Check the outer radius, then compare nested sections. A nested panel may use a smaller radius to preserve the visual hierarchy.
  3. Inputs and menus: Compare text fields, dropdowns, search boxes, tooltips, and command menus. These often reveal whether the interface uses one shape or several tiers.
  4. Images and media: Check whether images follow the card radius, use a separate crop radius, or remain square inside a rounded frame.
  5. Floating elements: Inspect popovers, dialogs, and sticky surfaces separately because they may use larger corners and stronger separation.

Record approximate values only when the page makes them reasonably clear. Otherwise use labels such as tight, medium, large, or pill. Do not turn a visual estimate into an official CSS value.

The supplied Linear captures are useful comparison references. Their notes describe a near-black canvas, muted dividers, compact controls, and one cool accent. The supplied typography evidence identifies Inter across body copy, labels, headings, and controls. Use those observations to ask whether the surface treatment is restrained and consistent, but do not infer private design-system rules from the captures.

Captured pages

Linear typography

  • Inter

    Weight 400

  • Inter

    Weight 500

Read shadows in context

A shadow has several observable parts:

  • Offset: Does it sit beneath the object, or spread almost evenly around it?
  • Blur: Is the edge tight and close, or broad and detached?
  • Opacity: Does it gently separate surfaces, or create obvious elevation?
  • Contact edge: Is there a crisp edge, a soft halo, a border, or a combination?
  • Background: Does the same shadow remain visible on light and dark surfaces?

Group the results into practical levels such as surface separation, raised layer, and overlay elevation. Then compare radius and elevation together. Larger corners and softer shadows often appear on elements farther above the page, but that relationship must be checked rather than assumed. On dark interfaces, a muted divider or surface-color shift may provide more separation than a shadow.

Turn observations into tokens

Create a table before writing CSS:

TokenUseRadiusShadow
surface-smInputs and compact controlstightnone or subtle
surface-mdCards and panelsmediumsoft separation
surface-lgMenus and dialogslargeraised layer
surface-pillTags and status controlsfullusually none

Mark each row as repeated, component-specific, or uncertain. Keep nested corners, clipped images, focus rings, hover states, and mobile layouts in the review. The final handoff should identify repeated patterns, one-off details, and the states that still need manual checking.

Use this in your AI agent

> Analyze the captured website's border radii and shadows by component. Compare buttons, inputs, cards, panels, menus, dialogs, images, and floating elements. Return observed radius groups, border treatment, shadow offset, blur, opacity, and likely usage. Separate repeated patterns from one-off details, note viewport or state differences, and finish with cautious CSS variables that I can verify manually.

Install Fudge for your AI agent to review saved website references and create this design handoff.

How should I compare border radii and shadows across several website pages?

Use the same worksheet for every page. Put components in rows and pages in columns, then record radius, border, shadow level, background, and state. Use relative labels first: none, subtle, medium, or strong for shadows, and tight, medium, large, or pill for radii.

Mark each result as unchanged, responsive, state-specific, or uncertain. A mobile card that changes shape may reflect a layout adjustment rather than a new shared token. A dialog shadow that appears only when open belongs to the overlay category, not the ordinary card category.

After comparing pages, look for relationships. Nested panels may use smaller corners than their parent. Menus may use larger corners and softer shadows. Only convert repeated observations into shared CSS variables. Keep page-specific variations visible so a developer does not mistake an estimate for a confirmed rule.

Can you give me a practical CSS starting point after I analyze the website?

Start with a small, adjustable set of variables:

These are starting points, not extracted facts. Replace them only when your observations show repetition. Use the control radius for inputs and compact buttons, the card radius for ordinary panels, and the overlay radius for menus or dialogs. Keep pills separate because their shape communicates a different control type.

For dark interfaces, combine a subtle shadow with a muted border or small surface-color change when the shadow is hard to see. Test focus rings, nested corners, clipped images, hover states, and narrow widths before treating the token set as finished.