</>

WebDevTools

Border Radius Preview

Visualize and adjust border-radius values in real time

Adjust border-radius values visually. Use presets (square, rounded, pill, circle) or edit each corner individually. Copy the generated CSS directly to your project.

Presets

px

Individual Corners

px

Preview

Preview

Generated CSS

Guide: build CSS border-radius with live preview

Modern `border-radius` supports up to four radii per corner and elliptical values (`50% / 25%`). Tweaking in DevTools line by line is slow when you need pills, asymmetric cards, or top-only rounding.

Sliders and numeric fields update the in-browser preview instantly — nothing hits a server. You see the effect on a sample box and copy a ready-made `border-radius` declaration.

Use when implementing design systems, rounded buttons, or card mockups. Pair with the box-shadow builder to validate visual hierarchy before committing CSS.

Step by step

  1. Pick units and cornersSet px, rem, or % per corner. Unlock independent values for top-left, top-right, etc. on asymmetric layouts.
  2. Tune horizontal and vertical radiiFor ellipses, use slash notation (e.g. `20px / 40px`). The preview shows circular vs. squashed corners.
  3. Match the designCompare to Figma: equal radii on grid cards; larger radii on modals or highlight chips.
  4. Copy the CSS rulePaste into CSS modules, Tailwind arbitrary values, or your theme `--radius-*` variables.

Frequently asked questions