What Does the Border Radius Generator Do?
This generator visualizes CSS border-radius in real time. Control each corner with its own slider (or link all four), switch between pixels and percentages, and copy the resulting CSS. A Random Blob button generates organic blob shapes using the advanced eight-value slash syntax — the trick behind those fluid, amoeba-like shapes in modern illustrations and hero sections.
How to Use the Generator
- Drag the corner sliders — keep "Link all corners" on for uniform rounding, off for per-corner control.
- Toggle % mode for size-relative rounding (50% on all corners of a square = perfect circle).
- Hit 🫧 Random Blob Shape for organic shapes, as many times as you like.
- Copy the CSS and apply it to any element.
Border Radius Techniques
- Consistent radii = design system — pick a small scale (e.g. 4px inputs, 8px buttons, 16px cards) and stick to it; mismatched rounding looks accidental.
- Circles and pills —
border-radius: 50%turns a square into a circle;border-radius: 999pxmakes any rectangle a pill. - Blob shapes — the slash syntax sets horizontal and vertical radii separately per corner:
30% 70% 70% 30% / 30% 30% 70% 70%. Every blob is one line of CSS — no SVG required. - Nested rounding — an inner element's radius should be the outer radius minus the padding, or the corners look misaligned.