CSS Border-Radius Generator

Drag the eight sliders — every corner has a horizontal (h) and a vertical (v) axis — and watch the preview round, ellipse, leaf, blob, or pill itself into shape. Pick one of twelve shape presets to start. The output below collapses to the shortest correct CSS form, so a square corner emits nothing and a perfect circle emits just 50%. Pure client-side, no upload.

Drag the sliders or pick a preset
Top-left
Top-right
Bottom-right
Bottom-left
Shorthand
Longhand (8 values)
Per-corner
  
Custom selector

Accepts 1, 2, 3 or 4-value shorthand, with an optional / ellipse form. px and % units are supported.