Border Radius Previewer

Visually edit CSS border-radius with sliders, presets, and a live preview — copy the CSS with one click

border-radius: 20px;
Presets
Top Left20px
Top Right20px
Bottom Right20px
Bottom Left20px
Color
Width
Height

Border Radius Previewer

Visually edit CSS border-radius with sliders, presets, and a live preview — copy the CSS with one click

Features

  • Live preview of `border-radius` with per-corner controls (TL / TR / BR / BL)
  • Eight named presets (rounded, pill, leaf, blob, ticket, etc.)
  • Output as CSS shorthand: `border-radius: 10px 20px 5px 15px;` or single value if all corners match
  • Elliptical corners (the slash syntax `40px / 20px`) are not directly editable in this UI — set all four corners equal for symmetric output
  • Copy the CSS line to clipboard with one click

How to use

  1. Drag the sliders to adjust each corner.
  2. Or click a preset for quick shapes.
  3. Copy the generated CSS property.

Tips & Best Practices

  • Single value (e.g. `border-radius: 8px`) applies to all four corners — the most common case.
  • Four-value shorthand goes TL / TR / BR / BL (clockwise from top-left).
  • Elliptical corners (`Xpx Ypx / Xpx Ypx`) give a "leaf" or asymmetric shape — supported in CSS but not exposed in this UI.
  • For animated radius changes, transition `border-radius` directly — the property is animatable.
  • Mobile / iOS Safari: corner radius up to ~50% of the smaller side renders as a perfect circle (`border-radius: 50%`).

FAQ

What is border-radius?

CSS border-radius rounds the corners of an element. You can set all corners equally or control each independently.

When should I use % vs px?

Use px for fixed rounding. Use % for shapes relative to the element size — 50% creates a circle on a square element.